Yong Tang
beafc7c7d9
Remove -ptr from the help output of service create
...
This fix is based on the comment:
https://github.com/docker/docker/pull/28147#discussion_r86996347
Previously the output string of the `DurationOpt` is `duration-ptr`
and `Uint64Opt` is `uint64-ptr`. While it is clear to developers,
for a normal user `-ptr` might not be very informative.
On the other hand, the default value of `DurationOpt` and `Uint64Opt`
has already been quite informative: `none`. That means if no flag
provided, the value will be treated as none.
(like a ptr with nil as the default)
For that reason this fix removes the `-ptr`.
Also, the output in the docs of `service create` has been quite
out-of-sync with the true output. So this fix updates the docs
to have the most up-to-date help output of `service create --help`.
This fix is related to #28147 .
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2016-11-09 06:30:10 -08:00
..
2016-11-03 15:48:30 -07:00
2016-11-05 19:05:19 -07:00
2016-11-05 13:47:02 +08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-09 12:17:28 +00:00
2016-11-08 16:17:15 +08:00
2016-11-03 15:48:30 -07:00
2015-06-15 13:19:38 -07:00
2016-11-04 15:45:30 +00:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-04 13:04:20 +08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-06 07:40:39 -05:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-07 16:59:29 -08:00
2016-11-07 16:59:29 -08:00
2016-11-07 16:59:29 -08:00
2016-11-07 22:49:22 -08:00
2016-11-07 16:59:29 -08:00
2016-11-07 16:59:29 -08:00
2016-11-07 22:49:22 -08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-09 12:17:28 +00:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-09 06:30:10 -08:00
2016-11-08 16:17:15 +08:00
2016-11-08 16:17:15 +08:00
2016-11-07 17:33:10 +01:00
2016-11-08 16:17:15 +08:00
2016-11-08 16:17:15 +08:00
2016-11-09 06:30:10 -08:00
2016-11-03 15:48:30 -07:00
2016-11-08 16:17:15 +08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-09 12:17:28 +00:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-09 12:17:28 +00:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00