Skip to content

Commit e4e31f5

Browse files
clarify info and extract are a TODO for now
1 parent 58ea028 commit e4e31f5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

cli/src/args.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ impl ZipCli {
3232
pub const ARGV_PARSE_FAILED_EXIT_CODE: i32 = 2;
3333
pub const NON_FAILURE_EXIT_CODE: i32 = 0;
3434

35-
pub const INFO_DESCRIPTION: &'static str = "do an info";
36-
pub const EXTRACT_DESCRIPTION: &'static str = "do an extract";
35+
pub const INFO_DESCRIPTION: &'static str = "(TODO) Print info about archive contents and individual entries.";
36+
pub const EXTRACT_DESCRIPTION: &'static str = "(TODO) Extract individual entries or an entire archive to stdout or the filesystem.";
3737

3838
pub fn binary_name() -> &'static str {
3939
PARSED_EXE_NAME.get().expect("binary name was not set yet")
@@ -219,7 +219,7 @@ impl Compress {
219219
const ZSTD_HELP_LINE: &'static str = "";
220220

221221
pub const COMMAND_NAME: &'static str = "compress";
222-
pub const COMMAND_DESCRIPTION: &'static str = "do a compress";
222+
pub const COMMAND_DESCRIPTION: &'static str = "Generate a zip archive from files, directories, and symlinks provided as arguments or read from filesystem paths.";
223223

224224
fn generate_usage_line() -> String {
225225
format!(
@@ -236,6 +236,8 @@ impl Compress {
236236
237237
{}
238238
239+
TODO: accept input over sockets, pipes, and stdin.
240+
239241
-h, --help Print help
240242
241243
Output flags:

cli/src/lib.rs

100755100644
File mode changed.

0 commit comments

Comments
 (0)