From: Frank Schreiner Date: Wed, 30 Mar 2016 13:50:36 +0000 (+0200) Subject: fixed option description and added split option to man page X-Git-Tag: upstream/0.10.0~12^2~6^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af5844bb1144e698e084fd55ede25ae857bea71b;p=services%2Fcreaterepo_c.git fixed option description and added split option to man page --- diff --git a/doc/createrepo_c.8 b/doc/createrepo_c.8 index 24b9edd..2d417ae 100644 --- a/doc/createrepo_c.8 +++ b/doc/createrepo_c.8 @@ -90,6 +90,10 @@ Optional output directory. .SS \-S \-\-skip\-symlinks .sp Ignore symlinks of packages. +.SS \--split +.sp +Run in split media mode. Rather than pass a single directory, take a set of +directories corresponding to different volumes in a media set. .SS \-\-changelog\-limit .sp Only import the last N changelog entries, from each rpm, into the metadata. diff --git a/src/cmd_parser.c b/src/cmd_parser.c index 36242cc..a8dc54a 100644 --- a/src/cmd_parser.c +++ b/src/cmd_parser.c @@ -107,7 +107,8 @@ static GOptionEntry cmd_entries[] = "then the file is still the same (only use this if you're fairly " "trusting or gullible).", NULL }, { "split", 0, 0, G_OPTION_ARG_NONE, &(_cmd_options.split), - "generate split media", NULL }, + "take a set of directories corresponding to different volumes in a media set " + "and creates meta data in first directory", NULL }, { "pkglist", 'i', 0, G_OPTION_ARG_FILENAME, &(_cmd_options.pkglist), "Specify a text file which contains the complete list of files to " "include in the repository from the set found in the directory. File "