void
attr_init(void)
{
- chattr_cmd.name = _("chattr");
+ chattr_cmd.name = "chattr";
chattr_cmd.cfunc = chattr_f;
chattr_cmd.args = _("[-R|-D] [+/-"CHATTR_XFLAG_LIST"]");
chattr_cmd.argmin = 1;
_("change extended inode flags on the currently open file");
chattr_cmd.help = chattr_help;
- lsattr_cmd.name = _("lsattr");
+ lsattr_cmd.name = "lsattr";
lsattr_cmd.cfunc = lsattr_f;
lsattr_cmd.args = _("[-R|-D|-a|-v]");
lsattr_cmd.argmin = 0;
void
bmap_init(void)
{
- bmap_cmd.name = _("bmap");
+ bmap_cmd.name = "bmap";
bmap_cmd.cfunc = bmap_f;
bmap_cmd.argmin = 0;
bmap_cmd.argmax = -1;
void
fadvise_init(void)
{
- fadvise_cmd.name = _("fadvise");
+ fadvise_cmd.name = "fadvise";
fadvise_cmd.cfunc = fadvise_f;
fadvise_cmd.argmin = 0;
fadvise_cmd.argmax = -1;
void
file_init(void)
{
- file_cmd.name = _("file");
- file_cmd.altname = _("f");
+ file_cmd.name = "file";
+ file_cmd.altname = "f";
file_cmd.args = _("[N]");
file_cmd.cfunc = file_f;
file_cmd.argmin = 0;
file_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
file_cmd.oneline = _("set the current file");
- print_cmd.name = _("print");
- print_cmd.altname = _("p");
+ print_cmd.name = "print";
+ print_cmd.altname = "p";
print_cmd.cfunc = print_f;
print_cmd.argmin = 0;
print_cmd.argmax = 0;
void
freeze_init(void)
{
- freeze_cmd.name = _("freeze");
+ freeze_cmd.name = "freeze";
freeze_cmd.cfunc = freeze_f;
freeze_cmd.argmin = 0;
freeze_cmd.argmax = 0;
freeze_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
freeze_cmd.oneline = _("freeze filesystem of current file");
- thaw_cmd.name = _("thaw");
+ thaw_cmd.name = "thaw";
thaw_cmd.cfunc = thaw_f;
thaw_cmd.argmin = 0;
thaw_cmd.argmax = 0;
void
fsync_init(void)
{
- fsync_cmd.name = _("fsync");
- fsync_cmd.altname = _("s");
+ fsync_cmd.name = "fsync";
+ fsync_cmd.altname = "s";
fsync_cmd.cfunc = fsync_f;
fsync_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
fsync_cmd.oneline =
_("calls fsync(2) to flush all in-core file state to disk");
- fdatasync_cmd.name = _("fdatasync");
- fdatasync_cmd.altname = _("ds");
+ fdatasync_cmd.name = "fdatasync";
+ fdatasync_cmd.altname = "ds";
fdatasync_cmd.cfunc = fdatasync_f;
fdatasync_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
fdatasync_cmd.oneline =
void
getrusage_init(void)
{
- getrusage_cmd.name = _("getrusage");
- getrusage_cmd.altname = _("g");
+ getrusage_cmd.name = "getrusage";
+ getrusage_cmd.altname = "g";
getrusage_cmd.argmin = 0;
getrusage_cmd.argmax = -1;
getrusage_cmd.cfunc = getrusage_f;
void
imap_init(void)
{
- imap_cmd.name = _("imap");
+ imap_cmd.name = "imap";
imap_cmd.cfunc = imap_f;
imap_cmd.argmin = 0;
imap_cmd.argmax = 0;
void
inject_init(void)
{
- inject_cmd.name = _("inject");
+ inject_cmd.name = "inject";
inject_cmd.cfunc = inject_f;
inject_cmd.argmin = 0;
inject_cmd.argmax = -1;
void
madvise_init(void)
{
- madvise_cmd.name = _("madvise");
- madvise_cmd.altname = _("ma");
+ madvise_cmd.name = "madvise";
+ madvise_cmd.altname = "ma";
madvise_cmd.cfunc = madvise_f;
madvise_cmd.argmin = 0;
madvise_cmd.argmax = -1;
void
mincore_init(void)
{
- mincore_cmd.name = _("mincore");
- mincore_cmd.altname = _("mi");
+ mincore_cmd.name = "mincore";
+ mincore_cmd.altname = "mi";
mincore_cmd.cfunc = mincore_f;
mincore_cmd.argmin = 0;
mincore_cmd.argmax = 2;
void
mmap_init(void)
{
- mmap_cmd.name = _("mmap");
- mmap_cmd.altname = _("mm");
+ mmap_cmd.name = "mmap";
+ mmap_cmd.altname = "mm";
mmap_cmd.cfunc = mmap_f;
mmap_cmd.argmin = 0;
mmap_cmd.argmax = -1;
_("mmap a range in the current file, show mappings");
mmap_cmd.help = mmap_help;
- mread_cmd.name = _("mread");
- mread_cmd.altname = _("mr");
+ mread_cmd.name = "mread";
+ mread_cmd.altname = "mr";
mread_cmd.cfunc = mread_f;
mread_cmd.argmin = 0;
mread_cmd.argmax = -1;
_("reads data from a region in the current memory mapping");
mread_cmd.help = mread_help;
- msync_cmd.name = _("msync");
- msync_cmd.altname = _("ms");
+ msync_cmd.name = "msync";
+ msync_cmd.altname = "ms";
msync_cmd.cfunc = msync_f;
msync_cmd.argmin = 0;
msync_cmd.argmax = -1;
msync_cmd.oneline = _("flush a region in the current memory mapping");
msync_cmd.help = msync_help;
- munmap_cmd.name = _("munmap");
- munmap_cmd.altname = _("mu");
+ munmap_cmd.name = "munmap";
+ munmap_cmd.altname = "mu";
munmap_cmd.cfunc = munmap_f;
munmap_cmd.argmin = 0;
munmap_cmd.argmax = 0;
munmap_cmd.flags = CMD_NOFILE_OK | CMD_FOREIGN_OK;
munmap_cmd.oneline = _("unmaps the current memory mapping");
- mwrite_cmd.name = _("mwrite");
- mwrite_cmd.altname = _("mw");
+ mwrite_cmd.name = "mwrite";
+ mwrite_cmd.altname = "mw";
mwrite_cmd.cfunc = mwrite_f;
mwrite_cmd.argmin = 0;
mwrite_cmd.argmax = -1;
void
open_init(void)
{
- open_cmd.name = _("open");
- open_cmd.altname = _("o");
+ open_cmd.name = "open";
+ open_cmd.altname = "o";
open_cmd.cfunc = open_f;
open_cmd.argmin = 0;
open_cmd.argmax = -1;
open_cmd.oneline = _("open the file specified by path");
open_cmd.help = open_help;
- stat_cmd.name = _("stat");
+ stat_cmd.name = "stat";
stat_cmd.cfunc = stat_f;
stat_cmd.argmin = 0;
stat_cmd.argmax = 1;
stat_cmd.args = _("[-v]");
stat_cmd.oneline = _("statistics on the currently open file");
- close_cmd.name = _("close");
- close_cmd.altname = _("c");
+ close_cmd.name = "close";
+ close_cmd.altname = "c";
close_cmd.cfunc = close_f;
close_cmd.argmin = 0;
close_cmd.argmax = 0;
close_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
close_cmd.oneline = _("close the current open file");
- setfl_cmd.name = _("setfl");
+ setfl_cmd.name = "setfl";
setfl_cmd.cfunc = setfl_f;
setfl_cmd.args = _("[-adx]");
setfl_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
setfl_cmd.oneline =
_("set/clear append/direct flags on the open file");
- statfs_cmd.name = _("statfs");
+ statfs_cmd.name = "statfs";
statfs_cmd.cfunc = statfs_f;
statfs_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
statfs_cmd.oneline =
_("statistics on the filesystem of the currently open file");
- chproj_cmd.name = _("chproj");
+ chproj_cmd.name = "chproj";
chproj_cmd.cfunc = chproj_f;
chproj_cmd.args = _("[-D | -R] projid");
chproj_cmd.argmin = 1;
_("change project identifier on the currently open file");
chproj_cmd.help = chproj_help;
- lsproj_cmd.name = _("lsproj");
+ lsproj_cmd.name = "lsproj";
lsproj_cmd.cfunc = lsproj_f;
lsproj_cmd.args = _("[-D | -R]");
lsproj_cmd.argmin = 0;
_("list project identifier set on the currently open file");
lsproj_cmd.help = lsproj_help;
- extsize_cmd.name = _("extsize");
+ extsize_cmd.name = "extsize";
extsize_cmd.cfunc = extsize_f;
extsize_cmd.args = _("[-D | -R] [extsize]");
extsize_cmd.argmin = 0;
void
parent_init(void)
{
- parent_cmd.name = _("parent");
+ parent_cmd.name = "parent";
parent_cmd.cfunc = parent_f;
parent_cmd.argmin = 0;
parent_cmd.argmax = -1;
void
pread_init(void)
{
- pread_cmd.name = _("pread");
- pread_cmd.altname = _("r");
+ pread_cmd.name = "pread";
+ pread_cmd.altname = "r";
pread_cmd.cfunc = pread_f;
pread_cmd.argmin = 2;
pread_cmd.argmax = -1;
void
prealloc_init(void)
{
- allocsp_cmd.name = _("allocsp");
+ allocsp_cmd.name = "allocsp";
allocsp_cmd.cfunc = allocsp_f;
allocsp_cmd.argmin = 2;
allocsp_cmd.argmax = 2;
allocsp_cmd.args = _("off len");
allocsp_cmd.oneline = _("allocates zeroed space for part of a file");
- freesp_cmd.name = _("freesp");
+ freesp_cmd.name = "freesp";
freesp_cmd.cfunc = freesp_f;
freesp_cmd.argmin = 2;
freesp_cmd.argmax = 2;
freesp_cmd.args = _("off len");
freesp_cmd.oneline = _("frees space associated with part of a file");
- resvsp_cmd.name = _("resvsp");
+ resvsp_cmd.name = "resvsp";
resvsp_cmd.cfunc = resvsp_f;
resvsp_cmd.argmin = 2;
resvsp_cmd.argmax = 2;
resvsp_cmd.oneline =
_("reserves space associated with part of a file");
- unresvsp_cmd.name = _("unresvsp");
+ unresvsp_cmd.name = "unresvsp";
unresvsp_cmd.cfunc = unresvsp_f;
unresvsp_cmd.argmin = 2;
unresvsp_cmd.argmax = 2;
unresvsp_cmd.oneline =
_("frees reserved space associated with part of a file");
- zero_cmd.name = _("zero");
+ zero_cmd.name = "zero";
zero_cmd.cfunc = zero_f;
zero_cmd.argmin = 2;
zero_cmd.argmax = 2;
add_command(&zero_cmd);
#if defined (HAVE_FALLOCATE)
- falloc_cmd.name = _("falloc");
+ falloc_cmd.name = "falloc";
falloc_cmd.cfunc = fallocate_f;
falloc_cmd.argmin = 2;
falloc_cmd.argmax = -1;
_("allocates space associated with part of a file via fallocate");
add_command(&falloc_cmd);
- fpunch_cmd.name = _("fpunch");
+ fpunch_cmd.name = "fpunch";
fpunch_cmd.cfunc = fpunch_f;
fpunch_cmd.argmin = 2;
fpunch_cmd.argmax = 2;
void
pwrite_init(void)
{
- pwrite_cmd.name = _("pwrite");
- pwrite_cmd.altname = _("w");
+ pwrite_cmd.name = "pwrite";
+ pwrite_cmd.altname = "w";
pwrite_cmd.cfunc = pwrite_f;
pwrite_cmd.argmin = 2;
pwrite_cmd.argmax = -1;
void
resblks_init(void)
{
- resblks_cmd.name = _("resblks");
+ resblks_cmd.name = "resblks";
resblks_cmd.cfunc = resblks_f;
resblks_cmd.argmin = 0;
resblks_cmd.argmax = 1;
void
sendfile_init(void)
{
- sendfile_cmd.name = _("sendfile");
- sendfile_cmd.altname = _("send");
+ sendfile_cmd.name = "sendfile";
+ sendfile_cmd.altname = "send";
sendfile_cmd.cfunc = sendfile_f;
sendfile_cmd.argmin = 2;
sendfile_cmd.argmax = -1;
void
shutdown_init(void)
{
- shutdown_cmd.name = _("shutdown");
+ shutdown_cmd.name = "shutdown";
shutdown_cmd.cfunc = shutdown_f;
shutdown_cmd.argmin = 0;
shutdown_cmd.argmax = 1;
void
truncate_init(void)
{
- truncate_cmd.name = _("truncate");
- truncate_cmd.altname = _("t");
+ truncate_cmd.name = "truncate";
+ truncate_cmd.altname = "t";
truncate_cmd.cfunc = truncate_f;
truncate_cmd.argmin = 1;
truncate_cmd.argmax = 1;
void
help_init(void)
{
- help_cmd.name = _("help");
- help_cmd.altname = _("?");
+ help_cmd.name = "help";
+ help_cmd.altname = "?";
help_cmd.cfunc = help_f;
help_cmd.argmin = 0;
help_cmd.argmax = 1;
void
quit_init(void)
{
- quit_cmd.name = _("quit");
- quit_cmd.altname = _("q");
+ quit_cmd.name = "quit";
+ quit_cmd.altname = "q";
quit_cmd.cfunc = quit_f;
quit_cmd.argmin = -1;
quit_cmd.argmax = -1;
void
edit_init(void)
{
- limit_cmd.name = _("limit");
+ limit_cmd.name = "limit";
limit_cmd.cfunc = limit_f;
limit_cmd.argmin = 2;
limit_cmd.argmax = -1;
limit_cmd.oneline = _("modify quota limits");
limit_cmd.help = limit_help;
- restore_cmd.name = _("restore");
+ restore_cmd.name = "restore";
restore_cmd.cfunc = restore_f;
restore_cmd.argmin = 0;
restore_cmd.argmax = -1;
restore_cmd.args = _("[-gpu] [-f file]");
restore_cmd.oneline = _("restore quota limits from a backup file");
- timer_cmd.name = _("timer");
+ timer_cmd.name = "timer";
timer_cmd.cfunc = timer_f;
timer_cmd.argmin = 2;
timer_cmd.argmax = -1;
timer_cmd.oneline = _("get/set quota enforcement timeouts");
timer_cmd.help = timer_help;
- warn_cmd.name = _("warn");
+ warn_cmd.name = "warn";
warn_cmd.cfunc = warn_f;
warn_cmd.argmin = 2;
warn_cmd.argmax = -1;
void
free_init(void)
{
- free_cmd.name = _("df");
- free_cmd.altname = _("free");
+ free_cmd.name = "df";
+ free_cmd.altname = "free";
free_cmd.cfunc = free_f;
free_cmd.argmin = 0;
free_cmd.argmax = -1;
void
path_init(void)
{
- path_cmd.name = _("path");
- path_cmd.altname = _("paths");
+ path_cmd.name = "path";
+ path_cmd.altname = "paths";
path_cmd.args = _("[N]");
path_cmd.cfunc = path_f;
path_cmd.argmin = 0;
path_cmd.flags = CMD_FLAG_GLOBAL;
path_cmd.oneline = _("set current path, or show the list of paths");
- print_cmd.name = _("print");
- print_cmd.altname = _("p");
+ print_cmd.name = "print";
+ print_cmd.altname = "p";
print_cmd.cfunc = print_f;
print_cmd.argmin = 0;
print_cmd.argmax = 0;
void
project_init(void)
{
- project_cmd.name = _("project");
- project_cmd.altname = _("tree");
+ project_cmd.name = "project";
+ project_cmd.altname = "tree";
project_cmd.cfunc = project_f;
project_cmd.args = _("[-c|-s|-C|-d <depth>|-p <path>] project ...");
project_cmd.argmin = 1;
void
quot_init(void)
{
- quot_cmd.name = _("quot");
+ quot_cmd.name = "quot";
quot_cmd.cfunc = quot_f;
quot_cmd.argmin = 0;
quot_cmd.argmax = -1;
void
quota_init(void)
{
- quota_cmd.name = _("quota");
- quota_cmd.altname = _("l");
+ quota_cmd.name = "quota";
+ quota_cmd.altname = "l";
quota_cmd.cfunc = quota_f;
quota_cmd.argmin = 0;
quota_cmd.argmax = -1;
void
report_init(void)
{
- dump_cmd.name = _("dump");
+ dump_cmd.name = "dump";
dump_cmd.cfunc = dump_f;
dump_cmd.argmin = 0;
dump_cmd.argmax = -1;
dump_cmd.oneline = _("dump quota information for backup utilities");
dump_cmd.help = dump_help;
- report_cmd.name = _("report");
- report_cmd.altname = _("repquota");
+ report_cmd.name = "report";
+ report_cmd.altname = "repquota";
report_cmd.cfunc = report_f;
report_cmd.argmin = 0;
report_cmd.argmax = -1;
void
state_init(void)
{
- off_cmd.name = _("off");
+ off_cmd.name = "off";
off_cmd.cfunc = off_f;
off_cmd.argmin = 0;
off_cmd.argmax = -1;
off_cmd.oneline = _("permanently switch quota off for a path");
off_cmd.help = off_help;
- state_cmd.name = _("state");
+ state_cmd.name = "state";
state_cmd.cfunc = state_f;
state_cmd.argmin = 0;
state_cmd.argmax = -1;
state_cmd.oneline = _("get overall quota state information");
state_cmd.help = state_help;
- enable_cmd.name = _("enable");
+ enable_cmd.name = "enable";
enable_cmd.cfunc = enable_f;
enable_cmd.argmin = 0;
enable_cmd.argmax = -1;
enable_cmd.oneline = _("enable quota enforcement");
enable_cmd.help = enable_help;
- disable_cmd.name = _("disable");
+ disable_cmd.name = "disable";
disable_cmd.cfunc = disable_f;
disable_cmd.argmin = 0;
disable_cmd.argmax = -1;
disable_cmd.oneline = _("disable quota enforcement");
disable_cmd.help = disable_help;
- remove_cmd.name = _("remove");
+ remove_cmd.name = "remove";
remove_cmd.cfunc = remove_f;
remove_cmd.argmin = 0;
remove_cmd.argmax = -1;