Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/OcreCli.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ The following shortcut commands are available for convenience:
- `create` → `container create` - Create a container
- `run` → `container run` - Create and start a container
- `start` → `container start` - Start a container
- `wait` → `container wait` - Wait for a container to exit
- `kill` → `container kill` - Kill a container
- `rm` → `container rm` - Remove a container

Expand Down
2 changes: 2 additions & 0 deletions src/shell/shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ static int print_usage(struct ocre_context *ctx, const char *argv0, int argc, ch
fprintf(stderr, " run container run\n");
fprintf(stderr, " start container start\n");
// fprintf(stderr, " stop container stop\n");
fprintf(stderr, " wait container wait\n");
fprintf(stderr, " kill container kill\n");
// fprintf(stderr, " pause container pause\n");
// fprintf(stderr, " unpause container unpause\n");
Expand All @@ -80,6 +81,7 @@ static const struct ocre_command commands[] = {
{"start", cmd_container_start},
{"stop", cmd_container_stop},
{"kill", cmd_container_kill},
{"wait", cmd_container_wait},
{"pause", cmd_container_pause},
{"unpause", cmd_container_unpause},
{"rm", cmd_container_rm},
Expand Down