From e4e31f591f6fd02309464a7ad7f5dd85e9ec5625 Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:23:09 -0400 Subject: [PATCH] clarify info and extract are a TODO for now --- cli/src/args.rs | 8 +++++--- cli/src/lib.rs | 0 2 files changed, 5 insertions(+), 3 deletions(-) mode change 100755 => 100644 cli/src/lib.rs diff --git a/cli/src/args.rs b/cli/src/args.rs index c00b25f86..e598123ef 100644 --- a/cli/src/args.rs +++ b/cli/src/args.rs @@ -32,8 +32,8 @@ impl ZipCli { pub const ARGV_PARSE_FAILED_EXIT_CODE: i32 = 2; pub const NON_FAILURE_EXIT_CODE: i32 = 0; - pub const INFO_DESCRIPTION: &'static str = "do an info"; - pub const EXTRACT_DESCRIPTION: &'static str = "do an extract"; + pub const INFO_DESCRIPTION: &'static str = "(TODO) Print info about archive contents and individual entries."; + pub const EXTRACT_DESCRIPTION: &'static str = "(TODO) Extract individual entries or an entire archive to stdout or the filesystem."; pub fn binary_name() -> &'static str { PARSED_EXE_NAME.get().expect("binary name was not set yet") @@ -219,7 +219,7 @@ impl Compress { const ZSTD_HELP_LINE: &'static str = ""; pub const COMMAND_NAME: &'static str = "compress"; - pub const COMMAND_DESCRIPTION: &'static str = "do a compress"; + pub const COMMAND_DESCRIPTION: &'static str = "Generate a zip archive from files, directories, and symlinks provided as arguments or read from filesystem paths."; fn generate_usage_line() -> String { format!( @@ -236,6 +236,8 @@ impl Compress { {} +TODO: accept input over sockets, pipes, and stdin. + -h, --help Print help Output flags: diff --git a/cli/src/lib.rs b/cli/src/lib.rs old mode 100755 new mode 100644