blob: f6cf6d2418bb0e95457f9351070862526d1246ce [file] [log] [blame]
Todd Wangfcb72a52014-10-01 09:53:56 -07001// Below is the output from $(profile help -style=godoc ...)
2
3/*
4The profile tool facilitates interaction with the veyron profile repository.
5
6Usage:
7 profile <command>
8
9The 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
17The 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
28Profile Label
29
30Shows a human-readable profile key for the profile.
31
32Usage:
33 profile label <profile>
34
35<profile> is the full name of the profile.
36
37Profile Description
38
39Shows a human-readable profile description for the profile.
40
41Usage:
42 profile description <profile>
43
44<profile> is the full name of the profile.
45
46Profile Spec
47
48Shows the specification of the profile.
49
50Usage:
51 profile spec <profile>
52
53<profile> is the full name of the profile.
54
55Profile Put
56
57Sets a placeholder specification for the profile.
58
59Usage:
60 profile put <profile>
61
62<profile> is the full name of the profile.
63
64Profile Remove
65
66removes the profile specification for the profile.
67
68Usage:
69 profile remove <profile>
70
71<profile> is the full name of the profile.
72
73Profile Help
74
75Help displays usage descriptions for this command, or usage descriptions for
76sub-commands.
77
78Usage:
79 profile help [flags] [command ...]
80
81[command ...] is an optional sequence of commands to display detailed usage.
82The special-case "help ..." recursively displays help for all commands.
83
84The help flags are:
85 -style=text: The formatting style for help output, either "text" or "godoc".
86*/
Robin Thellend9259f3b2014-05-21 10:07:24 -070087package main
88
89import (
Jiri Simsa519c5072014-09-17 21:37:57 -070090 "veyron.io/veyron/veyron/tools/profile/impl"
Robin Thellend9259f3b2014-05-21 10:07:24 -070091
Jiri Simsa519c5072014-09-17 21:37:57 -070092 "veyron.io/veyron/veyron2/rt"
Robin Thellend9259f3b2014-05-21 10:07:24 -070093)
94
95func main() {
96 r := rt.Init()
Bogdan Caprita4258d882014-07-02 09:15:22 -070097 defer r.Cleanup()
Robin Thellend9259f3b2014-05-21 10:07:24 -070098
99 impl.Root().Main()
100}