Changeset View
Changeset View
Standalone View
Standalone View
sbin/bectl/bectl.c
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
static int bectl_cmd_add(int argc, char *argv[]); | static int bectl_cmd_add(int argc, char *argv[]); | ||||
#endif | #endif | ||||
static int bectl_cmd_mount(int argc, char *argv[]); | static int bectl_cmd_mount(int argc, char *argv[]); | ||||
static int bectl_cmd_rename(int argc, char *argv[]); | static int bectl_cmd_rename(int argc, char *argv[]); | ||||
static int bectl_cmd_unmount(int argc, char *argv[]); | static int bectl_cmd_unmount(int argc, char *argv[]); | ||||
libbe_handle_t *be; | libbe_handle_t *be; | ||||
int aok; | |||||
int | int | ||||
usage(bool explicit) | usage(bool explicit) | ||||
{ | { | ||||
FILE *fp; | FILE *fp; | ||||
fp = explicit ? stdout : stderr; | fp = explicit ? stdout : stderr; | ||||
fprintf(fp, "%s", | fprintf(fp, "%s", | ||||
"Usage:\tbectl {-h | -? | subcommand [args...]}\n" | "Usage:\tbectl {-h | -? | subcommand [args...]}\n" | ||||
▲ Show 20 Lines • Show All 508 Lines • Show Last 20 Lines |