Skip to content

Commit

Permalink
Add VN and new command line syntax to USAGE (#73)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Olson <[email protected]>
  • Loading branch information
maolson-msft and Matt Olson authored Jun 8, 2023
1 parent e387fbe commit 2449cb3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@ in Windows that produces packet capture events) to pcapng format
#include <winsock2.h>
#include <netiodef.h>

#define USAGE \
"etl2pcapng <infile> <outfile>\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"

Expand Down

0 comments on commit 2449cb3

Please sign in to comment.