Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/xdg-utils/scripts/html/xdg-file-dialog.html

Issue 6737007: Update xdg-utils to the latest version available in git. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/xdg-utils/scripts/html/xdg-file-dialog.html
===================================================================
--- third_party/xdg-utils/scripts/html/xdg-file-dialog.html (revision 79890)
+++ third_party/xdg-utils/scripts/html/xdg-file-dialog.html (working copy)
@@ -1,52 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xdg-file-dialog</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="xdg-file-dialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>xdg-file-dialog &#8212; command line tool for providing file and directory selection dialogs</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">xdg-file-dialog</code> openfilename [<code class="option">--title <em class="replaceable"><code>TITLE</code></em></code>] [<em class="replaceable"><code>FILENAME</code></em>]</p></div><div class="cmdsynopsis"><p><code class="command">xdg-file-dialog</code> openfilenamelist [<code class="option">--title <em class="replaceable"><code>TITLE</code></em></code>] [<em class="replaceable"><code>FILENAME</code></em>]</p></div><div class="cmdsynopsis"><p><code class="command">xdg-file-dialog</code> savefilename [<code class="option">--title <em class="replaceable"><code>TITLE</code></em></code>] [<em class="replaceable"><code>FILENAME</code></em>]</p></div><div class="cmdsynopsis"><p><code class="command">xdg-file-dialog</code> directory [<code class="option">--title <em class="replaceable"><code>TITLE</code></em></code>] [<em class="replaceable"><code>DIRNAME</code></em>]</p></div><div class="cmdsynopsis"><p><code class="command">xdg-file-dialog</code> { <code class="option">--help</code> | <code class="option">--manual</code> | <code class="option">--version</code> }</p></div></div><div class="refsect1" lang="en"><a name="description"></a><h2>Description</h2><p>
- The xdg-file-dialog program can be used to let the native file selection dialog
- handle file and directory input.
- </p><p>
- xdg-file-dialog is for use inside a desktop session only.
- It is not recommended to use xdg-file-dialog as root.
- </p></div><div class="refsect1" lang="en"><a name="commands"></a><h2>Commands</h2><div class="variablelist"><dl><dt><span class="term">openfilename</span></dt><dd>
- Returns the filename with path for a file to read from.
- <em class="replaceable"><code>FILENAME</code></em> can optionally be used to
- specify path and filename of a preselection.
- </dd><dt><span class="term">openfilenamelist</span></dt><dd>
- Returns one or more filenames with path for files to read from,
- each on a new line. <em class="replaceable"><code>FILENAME</code></em> can optionally
- be used to specify path and filename of a preselection.
- </dd><dt><span class="term">savefilename</span></dt><dd>
- Returns the filename with path for file to write to.
- <em class="replaceable"><code>FILENAME</code></em> can optionally be used to
- specify path and filename of a preselection.
- </dd><dt><span class="term">directory</span></dt><dd>
- Returns the path for an exsiting directory.
- <em class="replaceable"><code>DIRNAME</code></em> can optionally be used to
- specify a path of a preselection.
- </dd></dl></div></div><div class="refsect1" lang="en"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl><dt><span class="term"><code class="option">--title</code> <em class="replaceable"><code>TITLE</code></em></span></dt><dd>
- Sets the dialog's title (caption) to the specified text.
- </dd><dt><span class="term"><code class="option">--help</code></span></dt><dd>
- Show command synopsis.
- </dd><dt><span class="term"><code class="option">--manual</code></span></dt><dd>
- Show this manualpage.
- </dd><dt><span class="term"><code class="option">--version</code></span></dt><dd>
- Show the xdg-utils version information.
- </dd></dl></div></div><div class="refsect1" lang="en"><a name="exitcodes"></a><h2>Exit Codes</h2><p>
- An exit code of 0 indicates success while a non-zero exit code
- indicates failure. The following failure codes can be returned:
- </p><div class="variablelist"><dl><dt><span class="term"><code class="option">1</code></span></dt><dd>
- Error in command line syntax.
- </dd><dt><span class="term"><code class="option">2</code></span></dt><dd>
- One of the files passed on the command line did not exist.
- </dd><dt><span class="term"><code class="option">3</code></span></dt><dd>
- A required tool could not be found.
- </dd><dt><span class="term"><code class="option">4</code></span></dt><dd>
- The action failed.
- </dd></dl></div></div><div class="refsect1" lang="en"><a name="examples"></a><h2>Examples</h2><p>
-</p><pre class="programlisting">
-xdg-file-dialog savefilename /tmp/foobar.png
-</pre><p>
- Asks for a save file name starting in directory /tmp and suggesting foobar.png as the filename
- </p><p>
-</p><pre class="programlisting">
-xdg-file-dialog directory --title "Select a target folder" /tmp
-</pre><p>
- Asks for a directory name starting in directory /tmp using the text "Select a target folder" as the dialog's title/caption.
- </p></div></div></body></html>
« no previous file with comments | « third_party/xdg-utils/scripts/html/xdg-email.html ('k') | third_party/xdg-utils/scripts/html/xdg-icon-resource.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698