summaryrefslogtreecommitdiff
path: root/src/portable/portablectl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/portable/portablectl.c')
-rw-r--r--src/portable/portablectl.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c
index 5041745b3d..9e160c10f3 100644
--- a/src/portable/portablectl.c
+++ b/src/portable/portablectl.c
@@ -782,7 +782,19 @@ static int help(int argc, char *argv[], void *userdata) {
return log_oom();
printf("%s [OPTIONS...] {COMMAND} ...\n\n"
- "Attach or detach portable services from the local system.\n\n"
+ "Attach or detach portable services from the local system.\n"
+ "Commands:\n"
+ " list List available portable service images\n"
+ " attach NAME|PATH [PREFIX...]\n"
+ " Attach the specified portable service image\n"
+ " detach NAME|PATH Detach the specified portable service image\n"
+ " inspect NAME|PATH [PREFIX...]\n"
+ " Show details of specified portable service image\n"
+ " is-attached NAME|PATH Query if portable service image is attached\n"
+ " read-only NAME|PATH [BOOL] Mark or unmark portable service image read-only\n"
+ " remove NAME|PATH... Remove a portable service image\n"
+ " set-limit [NAME|PATH] Set image or pool size limit (disk quota)\n"
+ "\nOptions\n"
" -h --help Show this help\n"
" --version Show package version\n"
" --no-pager Do not pipe output into a pager\n"
@@ -796,18 +808,7 @@ static int help(int argc, char *argv[], void *userdata) {
" --runtime Attach portable service until next reboot only\n"
" --no-reload Don't reload the system and service manager\n"
" --cat When inspecting include unit and os-release file\n"
- " contents\n\n"
- "Commands:\n"
- " list List available portable service images\n"
- " attach NAME|PATH [PREFIX...]\n"
- " Attach the specified portable service image\n"
- " detach NAME|PATH Detach the specified portable service image\n"
- " inspect NAME|PATH [PREFIX...]\n"
- " Show details of specified portable service image\n"
- " is-attached NAME|PATH Query if portable service image is attached\n"
- " read-only NAME|PATH [BOOL] Mark or unmark portable service image read-only\n"
- " remove NAME|PATH... Remove a portable service image\n"
- " set-limit [NAME|PATH] Set image or pool size limit (disk quota)\n"
+ " contents\n"
"\nSee the %s for details.\n"
, program_invocation_short_name
, link