summaryrefslogtreecommitdiffhomepage
path: root/src/skin/ntux_skin_fspath.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/skin/ntux_skin_fspath.c')
-rw-r--r--src/skin/ntux_skin_fspath.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/skin/ntux_skin_fspath.c b/src/skin/ntux_skin_fspath.c
new file mode 100644
index 0000000..001d3c8
--- /dev/null
+++ b/src/skin/ntux_skin_fspath.c
@@ -0,0 +1,32 @@
+#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}
+};