commit 05122b678d21b799f09958816e3123d270be3dbc
Author: Oswald Buddenhagen <[email protected]>
Date: Fri Nov 26 17:31:25 2021 +0100
print version and command line args in debug mode
that makes it unnecessary to ask help-seeking users for it separately.
src/main.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/main.c b/src/main.c
index f22a28e3..55a7f653 100644
--- a/src/main.c
+++ b/src/main.c
@@ -696,6 +696,11 @@ main( int argc, char **argv )
if (DFlags & DEBUG_ANY) {
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 )) {
DFlags |= PROGRESS;
}
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel