Skip to content

Commit

Permalink
Enhanced command line documentation to include examples
Browse files Browse the repository at this point in the history
It took me a long time to discover that  it's acceptable to uses spaces to separate argument names from values instead of the colon. This necessary with quoted argument values.
  • Loading branch information
Chris McKenzie authored and TravisTheTechie committed Jul 4, 2016
1 parent 858c1d2 commit 52ae2d7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/source/overview/commandline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,15 @@ The help text from the command line is shown below for easy reference.
-instance An instance name if registering the service
multiple times
--sudo Prompts for UAC if running on Vista/W7/2008


Examples
'''''''''

** Basic Service Installation**
MyService.exe install -username:DOMAIN\ServiceAccount -password:itsASecret -servicename:AwesomeService --autostart

** Service Installation with Quoted Arguments
MyService.exe install -username "DOMAIN\Service Account" -password:"Its A Secret" -servicename "Awesome Service" --autostart


0 comments on commit 52ae2d7

Please sign in to comment.