]> git.tdb.fi Git - pmount-gui.git/blobdiff - README.txt
Document pmount option passing in the readme
[pmount-gui.git] / README.txt
index 2f6ebe60aa1f92a122c21dc418570700a09e0c44..fc5512582b7236eca172ab4ee6d025271f1979ce 100644 (file)
@@ -5,10 +5,23 @@ one to mount.  Default selection is the device which was connected to the
 system last, making it easy to quickly mount the USB memory stick you just
 plugged in.
 
 system last, making it easy to quickly mount the USB memory stick you just
 plugged in.
 
-In addition, there are two command-line switches:
+In addition, there are some command-line switches:
 
 
-  -u  Unmount a device.
-  -v  Increases verbosity.  Useful if pmount-gui is misbehaving.
+  -u
+    Unmount a device instead of mounting.
+
+  -v
+    Increases verbosity.  Useful if pmount-gui is misbehaving.
+
+  -r <command>
+    Runs a command after mounting, for example a terminal emulator or a file
+    manager.  The command is run without arguments in the directory where the
+    device was mounted.
+
+  -h
+    Displays a summary of options.
+
+Options can be passed to pmount by adding them after the special -- argument.
 
 Suggested usage pattern is to bind pmount-gui to a shortcut key in your window
 manager to provide quick access.
 
 Suggested usage pattern is to bind pmount-gui to a shortcut key in your window
 manager to provide quick access.