Permalink
Browse files

add missing optional argmuents; update examples. closes issue #9

  • Loading branch information...
1 parent 3bb8c5d commit 4e7c3cdcc5f2834c439f7f115c0f870923a6dfe3 @jceb committed Oct 3, 2012
Showing with 18 additions and 7 deletions.
  1. +18 −7 README
View
@@ -1,20 +1,25 @@
usage: dex [options] [DesktopEntryFile [DesktopEntryFile ...]]
-dex, DesktopEntry Execution, is a program to generate and execute DesktopEntry
-files of the type Application
+dex, DesktopEntry Execution, is a program to generate and execute
+DesktopEntry files of the type Application
positional arguments:
files DesktopEntry files
optional arguments:
-h, --help show this help message and exit
- -c CREATE [CREATE ...], --create CREATE [CREATE ...]
- create a DesktopEntry file for the given program. If a
- second argument is provided it's taken as output
- filename or written to stdout (filname: -). By default
- a new file with the postfix .desktop is created
-a, --autostart autostart programs
+ -c CREATE [CREATE ...], --create CREATE [CREATE ...]
+ create a DesktopEntry file for the given
+ program. If a second argument is provided it's
+ taken as output filename or written to stdout
+ (filname: -). By default a new file with the
+ postfix .desktop is created
-d, --dry-run dry run, don't execute any command
+ -e ENVIRONMENT, --environment ENVIRONMENT
+ specify the Desktop Environment an autostart
+ should be performed for; works only in
+ combination with --autostart
-t, --test perform a self-test
-v, --verbose verbose output
-V, --version display version information
@@ -26,5 +31,11 @@ Perform an autostart/execute all programs in the autostart folders.
Preview the programs would be executed in a regular autostart.
dex -ad
+Preview the programs would be executed in a GNOME specific autostart.
+ dex -ad -e GNOME
+
+Create a DesktopEntry for a program in the current directory.
+ dex -c /usr/bin/skype
+
Execute a single program from command line and enable verbose output.
dex -v skype.desktop

0 comments on commit 4e7c3cd

Please sign in to comment.