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
21651eb3
Commit
21651eb3
authored
6 years ago
by
Eric Cano
Browse files
Options
Downloads
Patches
Plain Diff
Fixed incomplete changes of parameters in cta-admin.
cta-admin was failing due to incoherent internal data.
parent
5eb402f1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmdline/CtaAdminCmdParse.hpp
+3
-3
3 additions, 3 deletions
cmdline/CtaAdminCmdParse.hpp
with
3 additions
and
3 deletions
cmdline/CtaAdminCmdParse.hpp
+
3
−
3
View file @
21651eb3
...
...
@@ -394,8 +394,8 @@ const Option opt_hostname_alias { Option::OPT_STR, "--name",
const
Option
opt_input
{
Option
::
OPT_STR
,
"--input"
,
"-i"
,
" <
\"
zero
\"
or
\"
urandom
\"
>"
};
const
Option
opt_instance
{
Option
::
OPT_STR
,
"--instance"
,
"-i"
,
" <instance_name>"
};
const
Option
opt_justarchive
{
Option
::
OPT_FLAG
,
"--justarchive"
,
"-a"
,
""
};
const
Option
opt_just
repack
{
Option
::
OPT_FLAG
,
"--just
repack"
,
"-
r
"
,
""
};
const
Option
opt_just
expand
{
Option
::
OPT_FLAG
,
"--just
expand
"
,
"-
e
"
,
""
};
const
Option
opt_just
move
{
Option
::
OPT_FLAG
,
"--just
move"
,
"-
m
"
,
""
};
const
Option
opt_just
addcopies
{
Option
::
OPT_FLAG
,
"--just
addcopies
"
,
"-
a
"
,
""
};
const
Option
opt_justretrieve
{
Option
::
OPT_FLAG
,
"--justretrieve"
,
"-r"
,
""
};
const
Option
opt_lastfseq
{
Option
::
OPT_UINT
,
"--lastfseq"
,
"-l"
,
" <last_fseq>"
};
const
Option
opt_lbp
{
Option
::
OPT_BOOL
,
"--lbp"
,
"-p"
,
" <
\"
true
\"
or
\"
false
\"
>"
};
...
...
@@ -501,7 +501,7 @@ const std::map<cmd_key_t, cmd_val_t> cmdOptions = {
{{
AdminCmd
::
CMD_MOUNTPOLICY
,
AdminCmd
::
SUBCMD_LS
},
{
opt_header
.
optional
()
}},
/*----------------------------------------------------------------------------------------------------*/
{{
AdminCmd
::
CMD_REPACK
,
AdminCmd
::
SUBCMD_ADD
},
{
opt_vid
.
optional
(),
opt_vidfile
.
optional
(),
opt_bufferurl
,
opt_just
expand
.
optional
(),
opt_just
repack
.
optional
()
}},
{
opt_vid
.
optional
(),
opt_vidfile
.
optional
(),
opt_bufferurl
,
opt_just
move
.
optional
(),
opt_just
addcopies
.
optional
()
}},
{{
AdminCmd
::
CMD_REPACK
,
AdminCmd
::
SUBCMD_RM
},
{
opt_vid
}},
{{
AdminCmd
::
CMD_REPACK
,
AdminCmd
::
SUBCMD_LS
},
{
opt_header
.
optional
(),
opt_vid
.
optional
()
}},
{{
AdminCmd
::
CMD_REPACK
,
AdminCmd
::
SUBCMD_ERR
},
{
opt_vid
}},
...
...
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