diff options
author | Reuben Thomas <rrt@sc3d.org> | 2016-10-30 06:21:53 +0000 |
---|---|---|
committer | Simon Lees <sflees@suse.de> | 2019-03-27 17:47:52 +1030 |
commit | 0801b7104c46ac2eff07bf8b867f7d45c74963c2 (patch) | |
tree | c26ab49c1adf0426f0de5167798a2a15c349358e | |
parent | 186966735dcccd61afde937118f27043bd084f57 (diff) |
xdg-su: fix some easy TODOs
Although xdg-su is not currently shipped, fix some trivial documentation
TODOs.
Signed-off-by: Simon Lees <sflees@suse.de>
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | scripts/desc/xdg-su.xml | 11 |
2 files changed, 10 insertions, 4 deletions
@@ -16,9 +16,6 @@ General * Add xdg-autostart xdg-su: -* The summary is incorrect, it suggests that it can only run things as -root which is incorrect according to the main body of the document. -* The -c option is listed in the synopsis, but not in options. * It would be useful if it was possible to distinguish between a failure because of a bad password or some other failure. * use sudo style syntax, drop -c option diff --git a/scripts/desc/xdg-su.xml b/scripts/desc/xdg-su.xml index 53a0f32..b4e1b7e 100644 --- a/scripts/desc/xdg-su.xml +++ b/scripts/desc/xdg-su.xml @@ -30,7 +30,7 @@ <refnamediv> <refname>xdg-su</refname> - <refpurpose>run a GUI program as root after prompting for the root password</refpurpose> + <refpurpose>run a GUI program as another user (typically root) after prompting for that user's password</refpurpose> </refnamediv> <refsynopsisdiv> @@ -68,6 +68,15 @@ <title>Options</title> <variablelist> <varlistentry> + <term><option>-c <replaceable>command</replaceable></option></term> + <listitem> + <simpara> + the command to run. This argument is mandatory. + </simpara> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-u <replaceable>user</replaceable></option></term> <listitem> <simpara> |