aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/mimedb.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/mimedb.txt')
-rw-r--r--doc_src/mimedb.txt28
1 files changed, 15 insertions, 13 deletions
diff --git a/doc_src/mimedb.txt b/doc_src/mimedb.txt
index e38597eb..79992f14 100644
--- a/doc_src/mimedb.txt
+++ b/doc_src/mimedb.txt
@@ -1,26 +1,28 @@
\section mimedb mimedb - lookup file information via the mime database
\subsection mimedb-synopsis Synopsis
-<tt>mimedb [OPTIONS] FILES...</tt>
+\fish{syn}
+mimedb [OPTIONS] FILES...
+\endfish
\subsection mimedb-description Description
-\c mimedb queries the MIME type database and the \c .desktop files
+\c mimedb queries the MIME type database and the `.desktop` files
installed on the system in order to find information on
-the files listed in <code>FILES</code>. The information that \c mimedb
+the files listed in `FILES`. The information that `mimedb`
can retrieve includes the MIME type for a file, a description of the type,
-and the default action that can be performed on the file. \c mimedb can also
+and the default action that can be performed on the file. `mimedb` can also
be used to launch the default action for this file.
The following options are available:
-- \c -t, \c --input-file-data determines the files' type both by their filename and by their contents (default behaviour).
-- \c -f, \c --input-filename determines the files' type by their filename.
-- \c -i, \c --input-mime specifies that the arguments are not files, but MIME types.
-- \c -m, \c --output-mime outputs the MIME type of each file (default behaviour).
-- \c -f, \c --output-description outputs the description of each MIME type.
-- \c -a, \c --output-action outputs the default action of each MIME type.
-- \c -l, \c --launch launches the default action for the specified files.
-- \c -h, \c --help displays a help message and exit.
-- \c -v, \c --version displays the version number and exits.
+- `-t`, `--input-file-data` determines the files' type both by their filename and by their contents (default behaviour).
+- `-f`, `--input-filename` determines the files' type by their filename.
+- `-i`, `--input-mime` specifies that the arguments are not files, but MIME types.
+- `-m`, `--output-mime` outputs the MIME type of each file (default behaviour).
+- `-f`, `--output-description` outputs the description of each MIME type.
+- `-a`, `--output-action` outputs the default action of each MIME type.
+- `-l`, `--launch` launches the default action for the specified files.
+- `-h`, `--help` displays a help message and exit.
+- `-v`, `--version` displays the version number and exits.