Blob Blame History Raw
#include "ntux_driver_impl.h"
#include "argv/argv.h"

const struct argv_option ntux_fspath_options[] = {
	{"version",		'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
				"show version information"},

	{"help",		'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
				"show usage information [listing %s options only]"},

	{"syntax",		's',TAG_SYNTAX,ARGV_OPTARG_REQUIRED,0,
				"relative|absolute|native|driver",0,
				"print the path using: "
					"root-relative notation (e.g. /bar); "
					"root-based absolute notation (e.g. /dev/fs/c/foo/bar); "
					"native tool notation (e.g. C:\\foo\\bar); or "
					"native driver notation (e.g. \\Device\\Harddisk0\\foo\\bar)"},

	{"rpath",		'\0',TAG_RPATH,ARGV_OPTARG_NONE,0,0,0,
				"same as --syntax=relative"},

	{"apath",		'\0',TAG_APATH,ARGV_OPTARG_NONE,0,0,0,
				"same as --syntax=absolute"},

	{"npath",		'\0',TAG_NPATH,ARGV_OPTARG_NONE,0,0,0,
				"same as --syntax=native"},

	{"dpath",		'\0',TAG_DPATH,ARGV_OPTARG_NONE,0,0,0,
				"same as --syntax=driver"},

	{0,0,0,0,0,0,0,0}
};