diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-12-09 02:09:14 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-12-09 02:09:14 -0500 |
| commit | d9d6139231719aeee09e8ef90d247784756a1aeb (patch) | |
| tree | 4fa0fb8c6bada6b7018673484aa013db3b2631c5 /src/alf.c | |
| parent | 818fcfb56c658017765eafb2078116392d13aa76 (diff) | |
| download | alftools-d9d6139231719aeee09e8ef90d247784756a1aeb.tar.gz | |
alf: Make -v do what -vv did, and -vv do what -vvv did. Also, cosmetics.
Diffstat (limited to 'src/alf.c')
| -rw-r--r-- | src/alf.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -267,7 +267,8 @@ void usage(void) { char **line; puts("alf (ALF compressor) v" VERSION " by B. Watson, WTFPL."); - printf("Usage: %s [-a|-o] archive.alf file [file ...]\n", self); + printf("Usage: %s [-a|-o] archive.alf file[=NAME] [file[=NAME] ...]\n", self); + puts("Use file=NAME to set the filenames in the ALF archive."); puts("Options:"); for(line = usage_msg; *line; line++) @@ -359,7 +360,7 @@ int main(int argc, char **argv) { if(out_file) fclose(out_file); - if(opt_verbose > 1) { + if(opt_verbose) { if(file_count > 1) { printf("Compressed %d file%s: ", file_count, file_count == 1 ? "" : "s"); printf("%u/%u (%d%%)\n", |
