aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-29 16:56:50 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commitfb8fc1fab3792488e5f3ab0e2ef9ed89189c47d9 (patch)
treeb9f1a5880b11c4ecfad32f68a08fc04394cf7bbb /src
parentdb33afcad5c59877ebdcf7ed7302358f4a1440ab (diff)
indexamajig: Write command line to stdout
This helps later archaeology
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 8163465b..9abb481d 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -581,6 +581,13 @@ int main(int argc, char *argv[])
}
+ /* Start by writing the entire command line to stdout */
+ printf("Command line:");
+ for ( i=0; i<argc; i++ ) {
+ printf(" %s", argv[i]);
+ }
+ printf("\n");
+
if ( filename == NULL ) {
filename = strdup("-");
}