case ZypperCommand::PACKAGES_e:
{
static struct option options[] = {
- {"repo", required_argument, 0, 'r'},
+ {"repo", required_argument, 0, 'r'},
// rug compatibility option, we have --repo
- {"catalog", required_argument, 0, 'c'},
- {"installed-only", no_argument, 0, 'i'},
- {"uninstalled-only", no_argument, 0, 'u'},
- {"orphaned", no_argument, 0, 'o'},
- {"suggested", no_argument, 0, 's'},
- {"recommended", no_argument, 0, 'r'},
- {"unneeded", no_argument, 0, 'n'},
- {"sort-by-name", no_argument, 0, 'N'},
- {"sort-by-repo", no_argument, 0, 'R'},
- {"sort-by-catalog", no_argument, 0, 0},
- {"help", no_argument, 0, 'h'},
+ {"catalog", required_argument, 0, 'c'},
+ {"installed-only", no_argument, 0, 'i'},
+ {"uninstalled-only", no_argument, 0, 'u'},
+ {"orphaned", no_argument, 0, 0 },
+ {"suggested", no_argument, 0, 0 },
+ {"recommended", no_argument, 0, 0 },
+ {"unneeded", no_argument, 0, 0 },
+ {"sort-by-name", no_argument, 0, 'N'},
+ {"sort-by-repo", no_argument, 0, 'R'},
+ {"sort-by-catalog", no_argument, 0, 0 },
+ {"help", no_argument, 0, 'h'},
{0, 0, 0, 0}
};
specific_options = options;
"-r, --repo <alias|#|URI> Just another means to specify repository.\n"
"-i, --installed-only Show only installed packages.\n"
"-u, --uninstalled-only Show only packages which are not installed.\n"
- "-o, --orphaned Show packages which are orphaned (without repository).\n"
- "-s, --suggested Show packages which are suggested.\n"
- "-r, --recommended Show packages which are recommended.\n"
- "-n, --unneeded Show packages which are unneeded.\n"
+ " --orphaned Show packages which are orphaned (without repository).\n"
+ " --suggested Show packages which are suggested.\n"
+ " --recommended Show packages which are recommended.\n"
+ " --unneeded Show packages which are unneeded.\n"
"-N, --sort-by-name Sort the list by package name.\n"
"-R, --sort-by-repo Sort the list by repository.\n"
);