aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-12-09 02:09:14 -0500
committerB. Watson <urchlay@slackware.uk>2025-12-09 02:09:14 -0500
commitd9d6139231719aeee09e8ef90d247784756a1aeb (patch)
tree4fa0fb8c6bada6b7018673484aa013db3b2631c5 /src/alf.c
parent818fcfb56c658017765eafb2078116392d13aa76 (diff)
downloadalftools-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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/alf.c b/src/alf.c
index 7945799..4283d33 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -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",