Skip to content

Commit

Permalink
Issue pyinstaller#692: Add doc for options --uac-admin --uac-uiaccess.
Browse files Browse the repository at this point in the history
  • Loading branch information
matysek committed Dec 29, 2014
1 parent f94103f commit bacff08
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
9 changes: 4 additions & 5 deletions PyInstaller/makespec.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,11 @@ def __add_options(parser):
"are omitted or specified as wildcard *."
"This option can be used multiple times.")
g.add_option('--uac-admin', dest='uac_admin', action="store_true", default=False,
help='Setting to True creates a Manifest '
'which will request elevation upon application restart')
help='Using this option creates a Manifest '
'which will request elevation upon application restart.')
g.add_option('--uac-uiaccess', dest='uac_uiaccess', action="store_true", default=False,
help='Setting to True allows an elevated application to '
'work with Remote Desktop')

help='Using this option allows an elevated application to '
'work with Remote Desktop.')

g = parser.add_option_group('Mac OS X specific options')
g.add_option('--osx-bundle-identifier', dest='bundle_identifier',
Expand Down
7 changes: 7 additions & 0 deletions doc/source/Manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,13 @@ Options for Windows apps
if *TYPE*, *NAME* and *LANGUAGE* are omitted or given as ``*``.
This option an be used more than once to specify more resources.

--uac-admin
Using this option creates a Manifest which will request elevation upon
application restart.

--uac-uiaccess
Using this option allows an elevated application to work with Remote Desktop.

Options for Mac OS X apps
---------------------------

Expand Down
5 changes: 0 additions & 5 deletions doc/source/pyi-build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ OPTIONS
--log-level=LOGLEVEL Amount of detail in build-time console messages
(default: INFO, choose one of DEBUG, INFO, WARN,
ERROR, CRITICAL)
--uac_admin Windows only. Setting to True creates a Manifest with will request
elevation upon application restart
--uac_uiaccess
Windows only. Setting to True allows an elevated application to
work with Remote Desktop


SEE ALSO
Expand Down
5 changes: 5 additions & 0 deletions doc/source/pyi-makespec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ Windows specific options
to the final executable if TYPE, NAME and LANGUAGE are
omitted or specified as wildcard *.This option can be
used multiple times.
--uac-admin Using this option creates a Manifest which will request
elevation upon application restart.
--uac-uiaccess Using this option allows an elevated application to
work with Remote Desktop.

Mac OS X specific options
-------------------------
Expand Down

0 comments on commit bacff08

Please sign in to comment.