{ "output", required_argument, NULL, 'o' },
{ "pairs", no_argument, NULL, 'P' },
{ "help", no_argument, NULL, 'h' },
+ { "version", no_argument, NULL, 'V' },
{ "verbose", no_argument, NULL, 'v' },
{ NULL, 0, NULL, 0 }
};
textdomain(PACKAGE);
while ((c = getopt_long(argc, argv,
- "abdglrsvn:t:o:Ph", long_opts, NULL)) != -1) {
+ "abdglrsvn:t:o:PhV", long_opts, NULL)) != -1) {
switch(c) {
case 'a':
break;
case 'h':
usage(stdout);
+ case 'V':
+ printf(UTIL_LINUX_VERSION);
+ return EXIT_SUCCESS;
case '?':
default:
usage(stderr);