Committing in working state just in case I screw up :)
parent
803a7789f0
commit
add4067e74
14
src/main.zig
14
src/main.zig
|
@ -8,12 +8,14 @@ const curl = @cImport({
|
|||
const log = std.log.scoped(.derploader);
|
||||
|
||||
const params = [_]clap.Param(clap.Help){
|
||||
clap.parseParam("-h, --help Display this help and exit.") catch unreachable,
|
||||
clap.parseParam("-c, --create=<PATH> Create new database at PATH.") catch unreachable,
|
||||
clap.parseParam("-i <ID> Operate on ID.") catch unreachable,
|
||||
clap.parseParam("-m Download metadata for ID image.") catch unreachable,
|
||||
clap.parseParam("-d Download image data of ID.") catch unreachable,
|
||||
clap.parseParam("-e <PATH> Extract image.") catch unreachable,
|
||||
clap.parseParam("-h, --help Display this help and exit.") catch unreachable,
|
||||
clap.parseParam("-c, --create=<PATH> Create new database at PATH.") catch unreachable,
|
||||
clap.parseParam("-i <ID> Operate on ID.") catch unreachable,
|
||||
clap.parseParam("-a Operate on all IDs in the database.") catch unreachable,
|
||||
clap.parseParam("-m Download metadata for ID image.") catch unreachable,
|
||||
clap.parseParam("-d Download image data of ID.") catch unreachable,
|
||||
clap.parseParam("-e <PATH> Extract image.") catch unreachable,
|
||||
clap.parseParam("-t Time between requests.") catch unreachable,
|
||||
};
|
||||
|
||||
fn printFullUsage(w: anytype) !void {
|
||||
|
|
Loading…
Reference in New Issue