summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgoogle@wwsnet.net <google@wwsnet.net@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-10-05 03:21:00 (EDT)
committer google@wwsnet.net <google@wwsnet.net@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-10-05 03:21:00 (EDT)
commitbef8b3ced498de337792a579af8f5536dae801b3 (patch)
treed566b29b2aa68eb53f4829c8ddd4fdb18b1c6b7d /src
parent3cfd512eeae8e66f159957888e38e749e368e302 (diff)
Implement "list-changed-conffiles" command - based on patch by Yann Lopez <yann.lopez@gmail.com>.
git-svn-id: http://opkg.googlecode.com/svn/trunk@576 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'src')
-rw-r--r--src/opkg-cl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opkg-cl.c b/src/opkg-cl.c
index ebaa3d0..bf123cd 100644
--- a/src/opkg-cl.c
+++ b/src/opkg-cl.c
@@ -225,6 +225,7 @@ usage()
printf("\tlist List available packages\n");
printf("\tlist-installed List installed packages\n");
printf("\tlist-upgradable List installed and upgradable packages\n");
+ printf("\tlist-changed-conffiles List user modified configuration files\n");
printf("\tfiles <pkg> List files belonging to <pkg>\n");
printf("\tsearch <file|regexp> List package providing <file>\n");
printf("\tinfo [pkg|regexp] Display all info for <pkg>\n");
@@ -328,6 +329,8 @@ main(int argc, char *argv[])
!strcmp(cmd_name,"compare-versions") ||
!strcmp(cmd_name,"list_installed") ||
!strcmp(cmd_name,"list-installed") ||
+ !strcmp(cmd_name,"list_changed_conffiles") ||
+ !strcmp(cmd_name,"list-changed-conffiles") ||
!strcmp(cmd_name,"status") )
noreadfeedsfile = 1;