meta: add build system and stub tool source code
This commit is contained in:
42
ropam/remove.c
Normal file
42
ropam/remove.c
Normal file
@@ -0,0 +1,42 @@
|
||||
#include "commands.h"
|
||||
|
||||
#include <blue/cmd.h>
|
||||
|
||||
enum {
|
||||
ARG_PACKAGE,
|
||||
};
|
||||
|
||||
static int remove(
|
||||
const b_command *self,
|
||||
const b_arglist *opt,
|
||||
const b_array *args)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
B_COMMAND(CMD_REMOVE, CMD_ROOT)
|
||||
{
|
||||
B_COMMAND_NAME("remove");
|
||||
B_COMMAND_SHORT_NAME('R');
|
||||
B_COMMAND_DESC(
|
||||
"remove a set of Rosetta packages by name. any "
|
||||
"automatically installed dependencies will not be removed "
|
||||
"unless they are explicitly named in the list of packages to "
|
||||
"remove.");
|
||||
B_COMMAND_FLAGS(B_COMMAND_SHOW_HELP_BY_DEFAULT);
|
||||
B_COMMAND_FUNCTION(remove);
|
||||
|
||||
B_COMMAND_HELP_OPTION();
|
||||
|
||||
B_COMMAND_ARG(ARG_PACKAGE)
|
||||
{
|
||||
B_ARG_NAME("package-name");
|
||||
B_ARG_DESC("the names of the packages to remove.");
|
||||
B_ARG_NR_VALUES(B_ARG_1_OR_MORE_VALUES);
|
||||
}
|
||||
|
||||
B_COMMAND_USAGE()
|
||||
{
|
||||
B_COMMAND_USAGE_ARG(ARG_PACKAGE);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user