We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae444b6 commit 93af0f4Copy full SHA for 93af0f4
2 files changed
docs/OcreCli.md
@@ -161,6 +161,7 @@ The following shortcut commands are available for convenience:
161
- `create` → `container create` - Create a container
162
- `run` → `container run` - Create and start a container
163
- `start` → `container start` - Start a container
164
+- `wait` → `container wait` - Wait for a container to exit
165
- `kill` → `container kill` - Kill a container
166
- `rm` → `container rm` - Remove a container
167
src/shell/shell.c
@@ -58,6 +58,7 @@ static int print_usage(struct ocre_context *ctx, const char *argv0, int argc, ch
58
fprintf(stderr, " run container run\n");
59
fprintf(stderr, " start container start\n");
60
// fprintf(stderr, " stop container stop\n");
61
+ fprintf(stderr, " wait container wait\n");
62
fprintf(stderr, " kill container kill\n");
63
// fprintf(stderr, " pause container pause\n");
64
// fprintf(stderr, " unpause container unpause\n");
@@ -80,6 +81,7 @@ static const struct ocre_command commands[] = {
80
81
{"start", cmd_container_start},
82
{"stop", cmd_container_stop},
83
{"kill", cmd_container_kill},
84
+ {"wait", cmd_container_wait},
85
{"pause", cmd_container_pause},
86
{"unpause", cmd_container_unpause},
87
{"rm", cmd_container_rm},
0 commit comments