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
9ffe411a95
commit
d0dd63370c
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ int main(int argc, char **argv) {
|
||||||
ai++;
|
ai++;
|
||||||
}
|
}
|
||||||
if (argc-ai<2) {
|
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++];
|
const char *output = argv[ai++];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue