You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli/src/args.rs
+5-3
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ impl ZipCli {
32
32
pubconstARGV_PARSE_FAILED_EXIT_CODE:i32 = 2;
33
33
pubconstNON_FAILURE_EXIT_CODE:i32 = 0;
34
34
35
-
pubconstINFO_DESCRIPTION:&'staticstr = "do an info";
36
-
pubconstEXTRACT_DESCRIPTION:&'staticstr = "do an extract";
35
+
pubconstINFO_DESCRIPTION:&'staticstr = "(TODO) Print info about archive contents and individual entries.";
36
+
pubconstEXTRACT_DESCRIPTION:&'staticstr = "(TODO) Extract individual entries or an entire archive to stdout or the filesystem.";
37
37
38
38
pubfnbinary_name() -> &'staticstr{
39
39
PARSED_EXE_NAME.get().expect("binary name was not set yet")
@@ -219,7 +219,7 @@ impl Compress {
219
219
constZSTD_HELP_LINE:&'staticstr = "";
220
220
221
221
pubconstCOMMAND_NAME:&'staticstr = "compress";
222
-
pubconstCOMMAND_DESCRIPTION:&'staticstr = "do a compress";
222
+
pubconstCOMMAND_DESCRIPTION:&'staticstr = "Generate a zip archive from files, directories, and symlinks provided as arguments or read from filesystem paths.";
223
223
224
224
fngenerate_usage_line() -> String{
225
225
format!(
@@ -236,6 +236,8 @@ impl Compress {
236
236
237
237
{}
238
238
239
+
TODO: accept input over sockets, pipes, and stdin.
0 commit comments