2222#include "storage.h"
2323#include "util.h"
2424
25+ #define STRINGIFY (s ) #s
26+ #define STR (s ) STRINGIFY(s)
27+
2528const char * argp_program_version = PACKAGE_STRING ;
2629const char * argp_program_bug_address = PACKAGE_BUGREPORT ;
2730static char args_doc [] = "[INTERFACE1 INTERFACE2 ...]" ;
@@ -31,15 +34,9 @@ address blacklisting option '-b' can be used multiple times.";
3134
3235static struct argp_option options [] = { { 0 , 0 , 0 , 0 , "Options for data output:" , 0 },
3336 { "shm-log-size" , 'L' , "NUM" , 0 ,
34- "Change shared memory log size (default: "
35- "DEFAULT_SHM_LOG_SIZE"
36- ")." ,
37- 0 },
37+ "Change shared memory log size (default: " STR (DEFAULT_SHM_LOG_SIZE ) ")." , 0 },
3838 { "shm-log-name" , 'm' , "NUM" , 0 ,
39- "Change shared memory log name (default: "
40- "DEFAULT_SHM_LOG_NAME"
41- ")." ,
42- 0 },
39+ "Change shared memory log name (default: " DEFAULT_SHM_LOG_NAME ")." , 0 },
4340
4441 { "output" , 'o' , "FILE" , 0 , "Output data to plain text FILE." , 0 },
4542 { "quiet" , 'q' , 0 , 0 , "Suppress any output to stdout and stderr." , 0 },
0 commit comments