From d98a1c5391c9da786574a84b69a50cbc31a170bf Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 25 Feb 2016 22:08:23 +0200 Subject: [PATCH 1/1] Documentation updates --- README.txt | 11 ++++++----- main.c | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.txt b/README.txt index cb99468..7643a77 100644 --- a/README.txt +++ b/README.txt @@ -19,14 +19,15 @@ In addition, there are some command-line switches: 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. -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. diff --git a/main.c b/main.c index 81bc4bf..fe41c4a 100644 --- 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" - "Usage: pmount-gui [-v] [-u] [-r ] [-h]\n\n" + "Usage: pmount-gui [-v] [-u] [-r ] [-m|-M] [-h]\n\n" "Options:\n" " -v Increase verbosity\n" " -u Unmount a device (default is mount)\n" -- 2.43.0