Committing in working state just in case I screw up :)

frunk
Lonnie 2021-08-01 20:13:30 +02:00
parent 803a7789f0
commit add4067e74
1 changed files with 8 additions and 6 deletions

View File

@ -8,12 +8,14 @@ const curl = @cImport({
const log = std.log.scoped(.derploader); const log = std.log.scoped(.derploader);
const params = [_]clap.Param(clap.Help){ const params = [_]clap.Param(clap.Help){
clap.parseParam("-h, --help Display this help and exit.") 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("-c, --create=<PATH> Create new database at PATH.") catch unreachable,
clap.parseParam("-i <ID> Operate on ID.") catch unreachable, clap.parseParam("-i <ID> Operate on ID.") catch unreachable,
clap.parseParam("-m Download metadata for ID image.") catch unreachable, clap.parseParam("-a Operate on all IDs in the database.") catch unreachable,
clap.parseParam("-d Download image data of ID.") catch unreachable, clap.parseParam("-m Download metadata for ID image.") catch unreachable,
clap.parseParam("-e <PATH> Extract 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 { fn printFullUsage(w: anytype) !void {