]> git.tdb.fi Git - pmount-gui.git/commitdiff
Documentation updates
authorMikko Rasa <tdb@tdb.fi>
Thu, 25 Feb 2016 20:08:23 +0000 (22:08 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 25 Feb 2016 20:08:38 +0000 (22:08 +0200)
README.txt
main.c

index cb9946831223794de9cf88a6afa7b62c49bd2181..7643a77b25a786fcc3f0092deadbee1311d2d875 100644 (file)
@@ -19,14 +19,15 @@ In addition, there are some command-line switches:
     device was mounted.
 
   -m
     device was mounted.
 
   -m
-    Start a persistent mount manager window from which devices can be both
-    mounted and unmounted.
+    Starts pmount-gui in mount manager mode.  Devices may be both mounted and
+    unmounted, and the application won't terminate after an operation.
+
+  -M
+    Similar to -m, but the window is temporarily hidden when there are no
+    mountable devices present.
 
   -h
     Displays a summary of options.
 
 
   -h
     Displays a summary of options.
 
-Suggested usage pattern is to bind pmount-gui to a shortcut key in your window
-manager to provide quick access.
-
 pmount-gui was written by Mikko Rasa and is distributed under the BSD license.
 See the file LICENSE.txt for full license text.
 pmount-gui was written by Mikko Rasa and is distributed under the BSD license.
 See the file LICENSE.txt for full license text.
diff --git a/main.c b/main.c
index 81bc4bffd77899c9b3a80e6ee34f8e98c426c393..fe41c4a560d858271642232a53ac58fd8685c70a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1004,7 +1004,7 @@ void show_help(void)
 {
        printf("pmount-gui\n"
                "Copyright (c) 2011-2015 Mikko Rasa, Mikkosoft Productions\n\n"
 {
        printf("pmount-gui\n"
                "Copyright (c) 2011-2015 Mikko Rasa, Mikkosoft Productions\n\n"
-               "Usage: pmount-gui [-v] [-u] [-r <command>] [-h]\n\n"
+               "Usage: pmount-gui [-v] [-u] [-r <command>] [-m|-M] [-h]\n\n"
                "Options:\n"
                "  -v  Increase verbosity\n"
                "  -u  Unmount a device (default is mount)\n"
                "Options:\n"
                "  -v  Increase verbosity\n"
                "  -u  Unmount a device (default is mount)\n"