mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
chore: update --container flag help that accepts ID prefix
This commit is contained in:
1 parent
15d4ef5518
commit
2b93a1c089
3 files changed
+4
-3
No files matched your search
@@ -74,7 +74,8 @@ If the service has multiple replicas and no container ID is specified, the comma
|
||||
|
||||
// Common flags
|
||||
execCmd.Flags().StringVar(&opts.containerId, "container", "",
|
||||
"ID of the container to exec into (default is the random container of the service)")
|
||||
"ID of the container to exec into. Accepts full ID or a unique prefix "+
|
||||
"(default is the random container of the service)")
|
||||
|
||||
// This tells Cobra that all flags must come before positional arguments, so that
|
||||
// commands with their own flags can be handled correctly.
|
||||
|
||||
Reference in new issue
Block a user