diff --git a/src/main.c b/src/main.c index 7bcbf56..35528b1 100644 --- a/src/main.c +++ b/src/main.c @@ -32,13 +32,17 @@ in Windows that produces packet capture events) to pcapng format #include #include -#define USAGE \ -"etl2pcapng \n" \ -"Converts a packet capture from etl to pcapng format.\n" - // Increment when adding features #define VERSION "1.11.0" +#define USAGE \ +"etl2pcapng version " VERSION "\n" \ +" Converts a packet capture from etl to pcapng format.\n" \ +"Usage:\n" \ +" etl2pcapng in.etl out.pcapng\n" \ +" or\n" \ +" etl2pcapng in.etl\n" + // Default extension for output files #define DEFAULT_OUT_FILE_EXTENSION L".pcapng"