Skip to content

Commit

Permalink
clarify info and extract are a TODO for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed Aug 15, 2024
1 parent 58ea028 commit 0b0a047
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.";

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
pub const EXTRACT_DESCRIPTION: &'static str = "(TODO) Extract individual entries or an entire archive to stdout or the filesystem.";

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment

pub fn binary_name() -> &'static str {
PARSED_EXE_NAME.get().expect("binary name was not set yet")
Expand Down Expand Up @@ -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!(
Expand Down
Empty file modified cli/src/lib.rs
100755 → 100644
Empty file.

0 comments on commit 0b0a047

Please sign in to comment.