From: Jason Self Date: Sat, 19 Sep 2015 04:18:04 +0000 (-0700) Subject: zilasm/main: Printing input filenames. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0ebf6a4af7a5bd61a736180bb13890b370b868fe;p=zilutils.git zilasm/main: Printing input filenames. --- diff --git a/zilasm/main.c b/zilasm/main.c index 558130c..ab2a633 100644 --- a/zilasm/main.c +++ b/zilasm/main.c @@ -145,6 +145,7 @@ void parse_zserial(void) int main(int argc, char *argv[], char *envp[]) { const char *output_file = NULL; + int i; fill_config(); @@ -177,6 +178,10 @@ int main(int argc, char *argv[], char *envp[]) // TODO: Everything :) + printf("Input files:\n"); + for (i = optind; i < argc; i++) + printf("\t%s\n", argv[i]); + printf("Output file: %s\n\n", output_file ? output_file : "MISSING"); printf("Config:\n"