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

Unified Diff: third_party/xdg-utils/scripts/man/xdg-open.1

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 6 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
« no previous file with comments | « third_party/xdg-utils/scripts/man/xdg-mime.1 ('k') | third_party/xdg-utils/scripts/man/xdg-screensaver.1 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/scripts/man/xdg-open.1
===================================================================
--- third_party/xdg-utils/scripts/man/xdg-open.1 (revision 0)
+++ third_party/xdg-utils/scripts/man/xdg-open.1 (revision 0)
@@ -0,0 +1,65 @@
+.\" ** You probably do not want to edit this file directly **
+.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
+.\" Instead of manually editing it, you probably should edit the DocBook XML
+.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
+.TH "XDG\-OPEN" "1" "06/24/2007" "xdg\-utils 1.0" ""
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.SH "NAME"
+xdg\-open \- opens a file or URL in the user's preferred application
+.SH "SYNOPSIS"
+.HP 9
+\fBxdg\-open\fR {\fB\fIfile\fR\fR \fB\fIURL\fR\fR}
+.HP 9
+\fBxdg\-open\fR {\fB\-\-help\fR \fB\-\-manual\fR \fB\-\-version\fR}
+.SH "DESCRIPTION"
+.PP
+xdg\-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web browser. If a file is provided the file will be opened in the preferred application for files of that type. xdg\-open supports file, ftp, http and https URLs.
+.PP
+xdg\-open is for use inside a desktop session only. It is not recommended to use xdg\-open as root.
+.SH "OPTIONS"
+.TP
+\fB\-\-help\fR
+Show command synopsis.
+.TP
+\fB\-\-manual\fR
+Show this manualpage.
+.TP
+\fB\-\-version\fR
+Show the xdg\-utils version information.
+.SH "EXIT CODES"
+.PP
+An exit code of 0 indicates success while a non\-zero exit code indicates failure. The following failure codes can be returned:
+.TP
+\fB1\fR
+Error in command line syntax.
+.TP
+\fB2\fR
+One of the files passed on the command line did not exist.
+.TP
+\fB3\fR
+A required tool could not be found.
+.TP
+\fB4\fR
+The action failed.
+.SH "EXAMPLES"
+.PP
+.nf
+xdg\-open 'http://www.freedesktop.org/'
+.fi
+.sp
+Opens the Freedesktop.org website in the user's default browser
+.PP
+.nf
+xdg\-open /tmp/foobar.png
+.fi
+.sp
+Opens the PNG image file /tmp/foobar.png in the user's default image viewing application.
+.SH "AUTHOR"
+Kevin Krammer, Jeremy White.
+.br
+<kevin.krammer@gmx.at>
+.br
+<jwhite@codeweavers.com>
« no previous file with comments | « third_party/xdg-utils/scripts/man/xdg-mime.1 ('k') | third_party/xdg-utils/scripts/man/xdg-screensaver.1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698