aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
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",