Commit Diff
Diff:
6c6ba58b9424adb6d2f870148dce5528b6537046
a8d4cbaefa14be77577b50fd1346c188ac0569a3
Commit:
a8d4cbaefa14be77577b50fd1346c188ac0569a3
Tree:
4d7ae3b8b3002a720bc95f1ccb93b4b44d354ba4
Author:
frédéric galusik <fredg@salixos.org>
Committer:
frédéric galusik <fredg@salixos.org>
Date:
Thu Nov 1 19:19:20 2012 UTC
Message:
man page updated
blob - 07bcd712cc2a8fdb6ccbbfbeca0da8e0bf40cdf1
blob + 82bf60c1e3fab152b8f8579a5e66a12861619aad
--- pkgtxt2db.t2t
+++ pkgtxt2db.t2t
@@ -7,10 +7,11 @@ Frederic Galusik
= NAME =
-pkgtxt2db - A perl utility to convert the Slackware PACKAGES.TXT to a database.
+pkgtxt2db - A Python utility to convert the Slackware PACKAGES.TXT to a database.
Are supported: CSV, JSON, XML
+
= SYNOPSIS =
**pkgtxt2db** [//OPTIONS//]
@@ -18,7 +19,7 @@ Are supported: CSV, JSON, XML
= DESCRIPTION =
-**Pkgtxt2db** is a tool for automoatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON, XML.
+**Pkgtxt2db** is a tool for automatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON, XML.
= GENERAL OPTIONS =
@@ -26,46 +27,59 @@ Are supported: CSV, JSON, XML
: **-h**, **--help**
Simple help
-: **-v**, **--version**
-Print Pkgtxt2db version
-: **-c**, **--csv**
-Convert PACKAGES.TXT to a CSV database.
+: **--version**
+Print pkgtxt2db version
-: **-j**, **--json**
-Convert PACKAGES.TXT to a JSON database.
-: **-x**, **--xml**
-Convert PACKAGES.TXT to a XML database
+: **-u**, **--update**
+It will fetch and download a new PACKAGES.TXT from your choosen repository.
+
: **-t**, **--target**
-Choose between Slackware or Salix repositories.
+Choose between slackware or salix repositories.
-It can be:
-- slack32: slackware i486 repository
-- slack64: slackware x86_64 repository
-- salix32: salix i486 repository
-- salix64: salix x86_64 repository
+: **--repo**
+Choose the arch repository, it can be i486 or x86_64.
+
+
: **-r**, **--release**
Choose the slackware or salix release.
+It can be: current (if exist), 14.0, 13.37, ..., 13.0.
-It can be: current (if exist), 13.37, ...
+: **-e**, **--expa**
+Choose between the patches or extra Slackware repository.
+
+: **-c**, **--convert**
+Choose your database format, it can be:
+- csv : Convert PACKAGES.TXT to a CSV database.
+- json: Convert PACKAGES.TXT to a JSON database.
+- xml : Convert PACKAGES.TXT to a XML database.
+
+
+: **-o**, **--output**
+Choose the name of the output file.
+If none is choosen, //packages// will be used.
+
+
= COMMAND LINE USAGE =
Here are some usages examples.
-: **pkgtxt2db -c -t slack32 -r current**
-It will fetch and convert PACKAGES.TXT from the Slackware current i486
-repository to a CSV database (tab separated): //slack32-current.csv//.
-You can open it with libreoffice ;)
-: **pkgtxt2db -j -t salix64 -r 13.37**
-It will fetch and convert PACKAGES.TXT from the Salix 13.37 x86-64
-repository to a JSON database: //salix64-13.37.json//.
+: **pkgtxt2db -u -t slackware --repo x86_64 -r 14.0 -c json -o slack64.json**
+It will fetch and convert PACKAGES.TXT from the Slackware current x86_64
+repository to a JSON database: //salix64.json//.
+: **pkgtxt2db -c csv**
+It will convert the PACKAGES.TXT found in your directory to a CSV
+database (; separated): //packages.csv//.
+You can open it with libreoffice ;)
+
+
= WEBSITE =
http://www.salixos.org/wiki/index.php/Pkgtxt2db
@@ -74,5 +88,3 @@ http://www.salixos.org/wiki/index.php/Pkgtxt2db
= AUTHOR =
Pkgtxt2db was written by Frederic Galusik <fredg~at~salixos~dot~org>
-
-
Frédéric Galusik