Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
7d36b358
Commit
7d36b358
authored
7 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[cta_frontend] Adds help for drive command
parent
a614e6b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmdline/CtaAdminCmdParse.hpp
+9
-9
9 additions, 9 deletions
cmdline/CtaAdminCmdParse.hpp
with
9 additions
and
9 deletions
cmdline/CtaAdminCmdParse.hpp
+
9
−
9
View file @
7d36b358
...
...
@@ -277,7 +277,12 @@ const std::map<AdminCmd::Cmd, CmdHelp> cmdHelp = {
{
AdminCmd
::
CMD_ADMINHOST
,
{
"adminhost"
,
"ah"
,
{
"add"
,
"ch"
,
"rm"
,
"ls"
}
}},
{
AdminCmd
::
CMD_ARCHIVEFILE
,
{
"archivefile"
,
"af"
,
{
"ls"
}
}},
{
AdminCmd
::
CMD_ARCHIVEROUTE
,
{
"archiveroute"
,
"ar"
,
{
"add"
,
"ch"
,
"rm"
,
"ls"
}
}},
{
AdminCmd
::
CMD_DRIVE
,
{
"drive"
,
"dr"
,
{
"up"
,
"down"
,
"ls"
}
}},
{
AdminCmd
::
CMD_DRIVE
,
{
"drive"
,
"dr"
,
{
"up"
,
"down"
,
"ls"
},
"
\n
This is a synchronous command that sets the requested state of the drive
\n
"
" (
\"
up
\"
or
\"
down
\"
) or lists the state of one or all drives (
\"
ls
\"
). The
\n
"
" drive will complete any running mount unless it is preempted with the
\n
"
" --force option.
\n\n
"
}},
{
AdminCmd
::
CMD_GROUPMOUNTRULE
,
{
"groupmountrule"
,
"gmr"
,
{
"add"
,
"ch"
,
"rm"
,
"ls"
}
}},
{
AdminCmd
::
CMD_LISTPENDINGARCHIVES
,
{
"listpendingarchives"
,
"lpa"
,
{
}
}},
{
AdminCmd
::
CMD_LISTPENDINGRETRIEVES
,
{
"listpendingretrieves"
,
"lpr"
,
{
}
}},
...
...
@@ -291,18 +296,13 @@ const std::map<AdminCmd::Cmd, CmdHelp> cmdHelp = {
{
AdminCmd
::
CMD_TAPE
,
{
"tape"
,
"ta"
,
{
"add"
,
"ch"
,
"rm"
,
"reclaim"
,
"ls"
,
"label"
}
}},
{
AdminCmd
::
CMD_TAPEPOOL
,
{
"tapepool"
,
"tp"
,
{
"add"
,
"ch"
,
"rm"
,
"ls"
}
}},
{
AdminCmd
::
CMD_TEST
,
{
"test"
,
"te"
,
{
"read"
,
"write"
,
"write_auto"
},
"
\n
This is a synchronous command that returns performance stats and errors.
It
\n
"
" should be run on an empty self-dedicated drive. All locations are local
to
\n
"
" the tapeserver.
\n\n
"
"
\n
This is a synchronous command that returns performance stats and errors.
\n
"
"
It
should be run on an empty self-dedicated drive. All locations are local
\n
"
"
to
the tapeserver.
\n\n
"
}},
{
AdminCmd
::
CMD_VERIFY
,
{
"verify"
,
"ve"
,
{
"add"
,
"rm"
,
"ls"
,
"err"
}
}}
};
// help << m_requestTokens.at(0) << " dr/drive up/down/ls (it is a synchronous command):" << std::endl
//<< "Set the requested state of the drive. The drive will complete any running mount" << std::endl
//<< "unless it is preempted with the --force option." << std::endl
//<< "List the states for one or all drives" << std::endl
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment