From 197e9f66742d9f3e611f8037a38ce222fb878e5e Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 22 May 2012 15:41:40 +0800 Subject: [PATCH] Usermode/mount - Added options support --- Usermode/Applications/mount_src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Usermode/Applications/mount_src/main.c b/Usermode/Applications/mount_src/main.c index 5bee7c6e..602aefd4 100644 --- a/Usermode/Applications/mount_src/main.c +++ b/Usermode/Applications/mount_src/main.c @@ -56,6 +56,7 @@ int main(int argc, char *argv[]) { // -t :: Filesystem driver to use case 't': sType = argv[++i]; break; + case 'o': sOptions = argv[++i]; break; case '-': //TODO: Long Arguments default: @@ -147,7 +148,7 @@ int main(int argc, char *argv[]) void ShowUsage(char *ProgName) { fprintf(stderr, "Usage:\n"); - fprintf(stderr, " %s [-t ] \n", ProgName); + fprintf(stderr, " %s [-t ] [-o ]\n", ProgName); fprintf(stderr, "or %s \n", ProgName); fprintf(stderr, "or %s \n", ProgName); fprintf(stderr, "or %s\n", ProgName); -- 2.20.1