Browse Source

print version and command line args in debug mode

that makes it unnecessary to ask help-seeking users for it separately.
wip/maildir-path-under-inbox
Oswald Buddenhagen 3 years ago
parent
commit
05122b678d
  1. 5
      src/main.c

5
src/main.c

@ -696,6 +696,11 @@ main( int argc, char **argv )
if (DFlags & DEBUG_ANY) { if (DFlags & DEBUG_ANY) {
Verbosity = VERBOSE; Verbosity = VERBOSE;
fputs( PACKAGE " " VERSION " called with:", stdout );
for (op = 1; op < argc; op++)
printf( " '%s'", argv[op] );
puts( "" );
} else if (Verbosity >= TERSE && isatty( 1 )) { } else if (Verbosity >= TERSE && isatty( 1 )) {
DFlags |= PROGRESS; DFlags |= PROGRESS;
} }

Loading…
Cancel
Save