print version and command line args in debug mode
that makes it unnecessary to ask help-seeking users for it separately.
This commit is contained in:
parent
c1eb3566b1
commit
05122b678d
|
@ -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…
Reference in New Issue
Block a user