Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
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
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
Eric Vidal
66
Commits
b20d9b10
Commit
b20d9b10
authored
2 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
clean up main command
parent
41ffc0d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/66/66.c
+0
-11
0 additions, 11 deletions
src/66/66.c
src/lib66/exec/ssexec_help.c
+1
-27
1 addition, 27 deletions
src/lib66/exec/ssexec_help.c
with
1 addition
and
38 deletions
src/66/66.c
+
0
−
11
View file @
b20d9b10
...
...
@@ -176,17 +176,6 @@ int main(int argc, char const *const *argv)
auto_strings
(
opts
,
main
,
OPTS_STOP
)
;
}
else
if
(
!
strcmp
(
argv
[
1
],
"all"
))
{
PROG
=
"all"
;
nargv
[
n
++
]
=
PROG
;
info
.
prog
=
PROG
;
info
.
help
=
help_treectl
;
info
.
usage
=
usage_treectl
;
func
=
&
ssexec_treectl
;
auto_strings
(
opts
,
main
,
OPTS_TREECTL
)
;
}
else
if
(
!
strcmp
(
argv
[
1
],
"env"
))
{
PROG
=
"env"
;
...
...
This diff is collapsed.
Click to expand it.
src/lib66/exec/ssexec_help.c
+
1
−
27
View file @
b20d9b10
...
...
@@ -141,32 +141,6 @@ char const *help_treectl =
" -f: fork the process
\n
"
;
char
const
*
usage_tree
=
"66 tree [ -h ] [ -z ] [ -v verbosity ] [ -c ] [ -o depends=:... ] [ -E|D ] [ -R ] tree"
;
char
const
*
help_tree
=
"
\n
"
"options:
\n
"
" -h: print this help
\n
"
" -z: use color
\n
"
" -v: increase/decrease verbosity
\n
"
" -c: set tree as default
\n
"
" -o: colon separated list of options
\n
"
" -E: enable the tree
\n
"
" -D: disable the tree
\n
"
" -R: remove the tree
\n
"
"
\n
"
"valid fields for -o options are:
\n
"
"
\n
"
" depends=: comma separated list of dependencies for tree or none
\n
"
" requiredby=: comma separated list of trees required by tree or none
\n
"
" groups=: add tree to the specified groups
\n
"
" allow=: comma separated list of account to allow at tree
\n
"
" deny=: comma separated list of account to deny at tree
\n
"
" clone=: make a clone of tree
\n
"
" noseed: do not use seed file to build the tree
\n
"
;
*/
char
const
*
usage_tree
=
"66 tree [ -h ] [ -z ] [ -v verbosity ] [ -T timeout ] [ -l live ] create|admin|remove|enable|disable|current|up|down|unsupervise [ -f ] [ -o depends=:... ] tree"
;
char
const
*
help_tree
=
...
...
@@ -384,4 +358,4 @@ char const *help_scandir =
" -o: handles owner scandir
\n
"
;
char
const
*
usage_66
=
"66 start|stop|unsupervise|enable|disable|
all|
init|env|parse|svctl|tree|reconfigure|reload|restart|scanctl|scandir|boot service(s)|tree"
;
char
const
*
usage_66
=
"66 start|stop|unsupervise|enable|disable|init|env|parse|svctl|tree|reconfigure|reload|restart|scanctl|scandir|boot service(s)|tree"
;
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