fix(cli): clarify password requirement for -p option
Updated CLI help and prompt message to show that -p/--password requires a password. If no password is provided, the user will be prompted. Improves usability and avoids confusion.
This commit is contained in:
parent
6adf3ceb95
commit
d585de91a9
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ int main(int argc, char **argv) {
|
|||
ai++;
|
||||
}
|
||||
if (argc-ai<2) {
|
||||
fprintf(stderr,"Error: compress requires <output.zupt> <files/dirs...>\n"); return 1;
|
||||
fprintf(stderr,"-p, --password <PW> Encrypt with AES-256 (prompted if empty)\n"); return 1;
|
||||
}
|
||||
const char *output = argv[ai++];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue