|
|
8ec5ce |
#include "ntux_driver_impl.h"
|
|
|
8ec5ce |
#include "argv/argv.h"
|
|
|
8ec5ce |
|
|
|
8ec5ce |
const struct argv_option ntux_fspath_options[] = {
|
|
|
8ec5ce |
{"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
|
|
|
8ec5ce |
"show version information"},
|
|
|
8ec5ce |
|
|
|
8ec5ce |
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
|
|
|
8ec5ce |
"show usage information [listing %s options only]"},
|
|
|
8ec5ce |
|
|
|
8ec5ce |
{"syntax", 's',TAG_SYNTAX,ARGV_OPTARG_REQUIRED,0,
|
|
|
8ec5ce |
"relative|absolute|native|driver",0,
|
|
|
8ec5ce |
"print the path using: "
|
|
|
8ec5ce |
"root-relative notation (e.g. /bar); "
|
|
|
8ec5ce |
"root-based absolute notation (e.g. /dev/fs/c/foo/bar); "
|
|
|
8ec5ce |
"native tool notation (e.g. C:\\foo\\bar); or "
|
|
|
8ec5ce |
"native driver notation (e.g. \\Device\\Harddisk0\\foo\\bar)"},
|
|
|
8ec5ce |
|
|
|
8ec5ce |
{"rpath", '\0',TAG_RPATH,ARGV_OPTARG_NONE,0,0,0,
|
|
|
8ec5ce |
"same as --syntax=relative"},
|
|
|
8ec5ce |
|
|
|
8ec5ce |
{"apath", '\0',TAG_APATH,ARGV_OPTARG_NONE,0,0,0,
|
|
|
8ec5ce |
"same as --syntax=absolute"},
|
|
|
8ec5ce |
|
|
|
8ec5ce |
{"npath", '\0',TAG_NPATH,ARGV_OPTARG_NONE,0,0,0,
|
|
|
8ec5ce |
"same as --syntax=native"},
|
|
|
8ec5ce |
|
|
|
8ec5ce |
{"dpath", '\0',TAG_DPATH,ARGV_OPTARG_NONE,0,0,0,
|
|
|
8ec5ce |
"same as --syntax=driver"},
|
|
|
8ec5ce |
|
|
|
8ec5ce |
{0,0,0,0,0,0,0,0}
|
|
|
8ec5ce |
};
|