Skip to content

Commit

Permalink
Merge pull request #4896 from M0ses/bs_regpush_usage
Browse files Browse the repository at this point in the history
[backend] enhanced usage for bs_regpush
  • Loading branch information
mlschroe committed Apr 25, 2018
2 parents c778a9c + 0eaa9c8 commit a4484d2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/backend/bs_regpush
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,21 @@ if ($list_mode) {
my ($mani, $maniid, $mani_json) = get_manifest_for_tag($ARGV[2]);
print "$mani_json\n" if $mani_json;
} else {
die("usage: bs_regpush -l <registryserver> [repository [tag]]\n");
die('usage: bs_regpush [options] <registryserver> [repository [tag]]
OPTIONS:
--dest-creds - credentials in form <user>:<password> or "-" to read from STDIN
-l - list mode
-D - delete mode
-X - delete except mode
-T - use image tags
-m - multiarch
-t - tag (multiple)
-F - digestfile
');
}
exit(0);
}
Expand Down

0 comments on commit a4484d2

Please sign in to comment.