diff options
author | William Pitcock <nenolod@atheme.org> | 2010-07-02 06:46:40 -0500 |
---|---|---|
committer | William Pitcock <nenolod@atheme.org> | 2010-07-02 06:46:40 -0500 |
commit | 6d80d73c82748dd8011a82f449dce941bf2fe52c (patch) | |
tree | 5c248afad1739608475b8f80ab6890563ff8f724 | |
parent | 1a52b9affb121a53c6719438b5ea5fb40791fc79 (diff) |
guessconv: Show input and output files if defined.
-rw-r--r-- | src/examples/guessconv/guessconv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/guessconv/guessconv.c b/src/examples/guessconv/guessconv.c index f2eea4b..6777b92 100644 --- a/src/examples/guessconv/guessconv.c +++ b/src/examples/guessconv/guessconv.c @@ -206,6 +206,7 @@ main(int argc, char **argv) lang = optarg; break; case 'i': + fprintf(stderr, "Input file: %s\n", optarg); if ((infile = fopen(optarg, "r")) == NULL) { fprintf(stderr, "%s: unable to open '%s' for reading: %s\n", argv[0], optarg, strerror(errno)); @@ -213,6 +214,7 @@ main(int argc, char **argv) } break; case 'o': + fprintf(stderr, "Output file: %s\n", optarg); if ((outfile = fopen(optarg, "w")) == NULL) { fprintf(stderr, "%s: unable to open '%s' for writing: %s\n", argv[0], optarg, strerror(errno)); |