[gcab] gcab.1: document some new arguments
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcab] gcab.1: document some new arguments
- Date: Fri, 18 Jan 2013 00:39:11 +0000 (UTC)
commit 3a5fc9d8a713b0a1c7be0574da9cd441cddcaca0
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Fri Jan 18 01:38:52 2013 +0100
gcab.1: document some new arguments
gcab.1.in | 12 ++++++++++++
gcab.c | 4 ++--
2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/gcab.1.in b/gcab.1.in
index fb0babc..3f0e7f0 100644
--- a/gcab.1.in
+++ b/gcab.1.in
@@ -9,9 +9,21 @@ gcab \- Program to create Microsoft cabinet (.cab) archives
Create the cabinet file CABFILE from the list of FILES.
.SH OPTIONS
.TP
+\fB\-c, --create\fR
+create a new cabinet archive
+.TP
+\fB\-x, --extract\fR
+extract files from a cabinet archive
+.TP
+\fB\-t, --list\fR
+list files of a cabinet archive
+.TP
\fB\-n, --nopath\fR
create files without pathnames
.TP
+\fB\-C, --directory DIR\fR
+change or extract to directory DIR
+.TP
\fB\-v, --verbose\fR
verbosely list files processed
.TP
diff --git a/gcab.c b/gcab.c
index 2d82b4f..ef0a62e 100644
--- a/gcab.c
+++ b/gcab.c
@@ -82,10 +82,10 @@ main (int argc, char *argv[])
int extract = 0;
GOptionEntry entries[] = {
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, N_("Be verbose"), NULL },
- { "change", 'C', 0, G_OPTION_ARG_FILENAME, &change, N_("Change to directory"), NULL },
- { "list", 't', 0, G_OPTION_ARG_NONE, &list, N_("List content"), NULL },
{ "create", 'c', 0, G_OPTION_ARG_NONE, &create, N_("Create archive"), NULL },
{ "extract", 'x', 0, G_OPTION_ARG_NONE, &extract, N_("Extract all files"), NULL },
+ { "list", 't', 0, G_OPTION_ARG_NONE, &list, N_("List content"), NULL },
+ { "directory", 'C', 0, G_OPTION_ARG_FILENAME, &change, N_("Change to directory"), NULL },
{ "zip", 'z', 0, G_OPTION_ARG_NONE, &compress, N_("Use zip compression"), NULL },
{ "nopath", 'n', 0, G_OPTION_ARG_NONE, &nopath, N_("Do not include path"), NULL },
{ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &args, NULL, N_("FILE INPUT_FILES...") },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]