Todd Wang | fcb72a5 | 2014-10-01 09:53:56 -0700 | [diff] [blame] | 1 | // Below is the output from $(profile help -style=godoc ...) |
| 2 | |
| 3 | /* |
| 4 | The profile tool facilitates interaction with the veyron profile repository. |
| 5 | |
| 6 | Usage: |
| 7 | profile <command> |
| 8 | |
| 9 | The profile commands are: |
| 10 | label Shows a human-readable profile key for the profile. |
| 11 | description Shows a human-readable profile description for the profile. |
| 12 | spec Shows the specification of the profile. |
| 13 | put Sets a placeholder specification for the profile. |
| 14 | remove removes the profile specification for the profile. |
| 15 | help Display help for commands |
| 16 | |
| 17 | The global flags are: |
| 18 | -alsologtostderr=true: log to standard error as well as files |
| 19 | -log_backtrace_at=:0: when logging hits line file:N, emit a stack trace |
| 20 | -log_dir=: if non-empty, write log files to this directory |
| 21 | -logtostderr=false: log to standard error instead of files |
| 22 | -max_stack_buf_size=4292608: max size in bytes of the buffer to use for logging stack traces |
| 23 | -stderrthreshold=2: logs at or above this threshold go to stderr |
| 24 | -v=0: log level for V logs |
| 25 | -vmodule=: comma-separated list of pattern=N settings for file-filtered logging |
| 26 | -vv=0: log level for V logs |
| 27 | |
| 28 | Profile Label |
| 29 | |
| 30 | Shows a human-readable profile key for the profile. |
| 31 | |
| 32 | Usage: |
| 33 | profile label <profile> |
| 34 | |
| 35 | <profile> is the full name of the profile. |
| 36 | |
| 37 | Profile Description |
| 38 | |
| 39 | Shows a human-readable profile description for the profile. |
| 40 | |
| 41 | Usage: |
| 42 | profile description <profile> |
| 43 | |
| 44 | <profile> is the full name of the profile. |
| 45 | |
| 46 | Profile Spec |
| 47 | |
| 48 | Shows the specification of the profile. |
| 49 | |
| 50 | Usage: |
| 51 | profile spec <profile> |
| 52 | |
| 53 | <profile> is the full name of the profile. |
| 54 | |
| 55 | Profile Put |
| 56 | |
| 57 | Sets a placeholder specification for the profile. |
| 58 | |
| 59 | Usage: |
| 60 | profile put <profile> |
| 61 | |
| 62 | <profile> is the full name of the profile. |
| 63 | |
| 64 | Profile Remove |
| 65 | |
| 66 | removes the profile specification for the profile. |
| 67 | |
| 68 | Usage: |
| 69 | profile remove <profile> |
| 70 | |
| 71 | <profile> is the full name of the profile. |
| 72 | |
| 73 | Profile Help |
| 74 | |
| 75 | Help displays usage descriptions for this command, or usage descriptions for |
| 76 | sub-commands. |
| 77 | |
| 78 | Usage: |
| 79 | profile help [flags] [command ...] |
| 80 | |
| 81 | [command ...] is an optional sequence of commands to display detailed usage. |
| 82 | The special-case "help ..." recursively displays help for all commands. |
| 83 | |
| 84 | The help flags are: |
| 85 | -style=text: The formatting style for help output, either "text" or "godoc". |
| 86 | */ |
Robin Thellend | 9259f3b | 2014-05-21 10:07:24 -0700 | [diff] [blame] | 87 | package main |
| 88 | |
| 89 | import ( |
Jiri Simsa | 519c507 | 2014-09-17 21:37:57 -0700 | [diff] [blame] | 90 | "veyron.io/veyron/veyron/tools/profile/impl" |
Robin Thellend | 9259f3b | 2014-05-21 10:07:24 -0700 | [diff] [blame] | 91 | |
Jiri Simsa | 519c507 | 2014-09-17 21:37:57 -0700 | [diff] [blame] | 92 | "veyron.io/veyron/veyron2/rt" |
Robin Thellend | 9259f3b | 2014-05-21 10:07:24 -0700 | [diff] [blame] | 93 | ) |
| 94 | |
| 95 | func main() { |
| 96 | r := rt.Init() |
Bogdan Caprita | 4258d88 | 2014-07-02 09:15:22 -0700 | [diff] [blame] | 97 | defer r.Cleanup() |
Robin Thellend | 9259f3b | 2014-05-21 10:07:24 -0700 | [diff] [blame] | 98 | |
| 99 | impl.Root().Main() |
| 100 | } |