Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=4fd1ec80d6deb8bfa13d3f6434928e2307458ba6
commit 4fd1ec80d6deb8bfa13d3f6434928e2307458ba6
Author: VMiklos <[EMAIL PROTECTED]>
Date: Mon Oct 1 19:28:46 2007 +0200
added syncpkgd manpage
diff --git a/syncpkgd/syncpkgd.py b/syncpkgd/syncpkgd.py
index 8892ee4..444b4bf 100644
--- a/syncpkgd/syncpkgd.py
+++ b/syncpkgd/syncpkgd.py
@@ -163,17 +163,7 @@ class Options:
self.help = False
self.uid = False
def usage(self, ret):
- print """Usage: syncpkgd [OPTION]...
-syncpkgd is a daemon that accepts requests from syncpkg clients.
-
-Options:
- -c --clientlogs set the dir to place failed build logs
- (default: clientlogs)
- -d --daemon run as daemon in the background
- -l --logfile set the logfile (default: syncpkgd.log)
- -p --pidfile set the pidfile (default: syncpkgd.pid)
- -s --statusfile set the statusfile (default: syncpkgd.status)
- -u --uid set the daemon's user id"""
+ os.system("man syncpkgd")
sys.exit(ret)
diff --git a/syncpkgd/syncpkgd.txt b/syncpkgd/syncpkgd.txt
new file mode 100644
index 0000000..3b459dd
--- /dev/null
+++ b/syncpkgd/syncpkgd.txt
@@ -0,0 +1,29 @@
+= syncpkgd(1)
+
+== NAME
+
+syncpkgd - a daemon that accepts requests from syncpkg clients
+
+== SYNOPSIS
+
+syncpkgd [options]
+
+== OPTIONS
+
+-c, --clientlogs <directory>::
+ set the dir to place failed build logs (default: clientlogs)
+
+-d, --daemon::
+ run as daemon in the background
+
+-l, --logfile <path>::
+ set the logfile (default: syncpkgd.log)
+
+-p, --pidfile <path>::
+ set the pidfile (default: syncpkgd.pid)
+
+-s, --statusfile <path>::
+ set the statusfile (default: syncpkgd.status)
+
+-u, --uid <username>::
+ set the daemon's user id
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git