From 6feedc2c70ab25fc791a6a2f00568401c32ebd44 Mon Sep 17 00:00:00 2001 From: Glenn Date: Sun, 14 Jan 2024 20:32:23 +0100 Subject: [PATCH] doc: update README according to code --- README.md | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd7bfd8..254cb91 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,8 @@ version](https://code.apps.glenux.net/glenux/mfm/releases) of MFM. ### Command Line Options +Global + ``` Usage: mfm [options] @@ -77,9 +79,43 @@ Global options -h, --help Show this help Commands (not implemented yet): - create Add a new filesystem - delete Remove an existing filesystem - edit Modify the configuration + config Manage configuration file + mapping Manage filesystems +``` + +Config management + +``` +Usage: mfm filesystem [options] + +Global options + -c, --config FILE Set configuration file + -v, --verbose Set more verbosity + -o, --open Automatically open directory after mount + --version Show version + -h, --help Show this help + +Commands (not implemented yet): + init Create init file +``` + +Filesystem management + +``` +Usage: mfm mapping [options] + +Global options + -c, --config FILE Set configuration file + -v, --verbose Set more verbosity + -o, --open Automatically open directory after mount + --version Show version + -h, --help Show this help + +Commands (not implemented yet): + list List fuse mappings + create Create new fuse mapping + edit Edit fuse mapping + delete Create new fuse mapping ``` ### Demo