Jiri Simsa | 3f4e92d | 2015-03-24 21:26:37 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Vanadium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Benjamin Prosnitz | 7cf836d | 2015-01-30 09:19:19 -0800 | [diff] [blame] | 5 | // This file was auto-generated via go generate. |
| 6 | // DO NOT UPDATE MANUALLY |
| 7 | |
| 8 | /* |
Todd Wang | 6ed3b6c | 2015-04-08 14:37:04 -0700 | [diff] [blame] | 9 | Command uniqueid generates unique identifiers. It also has an option of |
| 10 | automatically substituting unique ids with placeholders in files. |
Benjamin Prosnitz | 7cf836d | 2015-01-30 09:19:19 -0800 | [diff] [blame] | 11 | |
| 12 | Usage: |
| 13 | uniqueid <command> |
| 14 | |
| 15 | The uniqueid commands are: |
| 16 | generate Generates UniqueIds |
| 17 | inject Injects UniqueIds into existing files |
| 18 | help Display help for commands or topics |
| 19 | Run "uniqueid help [command]" for command usage. |
| 20 | |
Matt Rosencrantz | 83b0b7f | 2015-03-26 16:17:01 -0700 | [diff] [blame] | 21 | The global flags are: |
| 22 | -alsologtostderr=true |
| 23 | log to standard error as well as files |
| 24 | -log_backtrace_at=:0 |
| 25 | when logging hits line file:N, emit a stack trace |
| 26 | -log_dir= |
| 27 | if non-empty, write log files to this directory |
| 28 | -logtostderr=false |
| 29 | log to standard error instead of files |
| 30 | -max_stack_buf_size=4292608 |
| 31 | max size in bytes of the buffer to use for logging stack traces |
| 32 | -stderrthreshold=2 |
| 33 | logs at or above this threshold go to stderr |
| 34 | -v=0 |
| 35 | log level for V logs |
Asim Shankar | f32d24d | 2015-04-01 16:34:26 -0700 | [diff] [blame] | 36 | -v23.credentials= |
| 37 | directory to use for storing security credentials |
| 38 | -v23.i18n-catalogue= |
| 39 | 18n catalogue files to load, comma separated |
Asim Shankar | 8196c1e | 2015-04-08 22:42:18 -0700 | [diff] [blame] | 40 | -v23.namespace.root=[/(dev.v.io/role/vprod/service/mounttabled)@ns.dev.v.io:8101] |
Asim Shankar | f32d24d | 2015-04-01 16:34:26 -0700 | [diff] [blame] | 41 | local namespace root; can be repeated to provided multiple roots |
| 42 | -v23.permissions.file=map[] |
Adam Sadovsky | a4d4a69 | 2015-04-20 11:36:49 -0700 | [diff] [blame] | 43 | specify a perms file as <name>:<permsfile> |
Asim Shankar | f32d24d | 2015-04-01 16:34:26 -0700 | [diff] [blame] | 44 | -v23.permissions.literal= |
Adam Sadovsky | a4d4a69 | 2015-04-20 11:36:49 -0700 | [diff] [blame] | 45 | explicitly specify the runtime perms as a JSON-encoded access.Permissions. |
Asim Shankar | f32d24d | 2015-04-01 16:34:26 -0700 | [diff] [blame] | 46 | Overrides all --v23.permissions.file flags. |
| 47 | -v23.proxy= |
| 48 | object name of proxy service to use to export services across network |
| 49 | boundaries |
| 50 | -v23.tcp.address= |
| 51 | address to listen on |
| 52 | -v23.tcp.protocol=wsh |
| 53 | protocol to listen with |
| 54 | -v23.vtrace.cache-size=1024 |
| 55 | The number of vtrace traces to store in memory. |
| 56 | -v23.vtrace.collect-regexp= |
| 57 | Spans and annotations that match this regular expression will trigger trace |
| 58 | collection. |
| 59 | -v23.vtrace.dump-on-shutdown=true |
| 60 | If true, dump all stored traces on runtime shutdown. |
| 61 | -v23.vtrace.sample-rate=0 |
| 62 | Rate (from 0.0 to 1.0) to sample vtrace traces. |
Matt Rosencrantz | 83b0b7f | 2015-03-26 16:17:01 -0700 | [diff] [blame] | 63 | -vmodule= |
| 64 | comma-separated list of pattern=N settings for file-filtered logging |
| 65 | |
Benjamin Prosnitz | 7cf836d | 2015-01-30 09:19:19 -0800 | [diff] [blame] | 66 | Uniqueid Generate |
| 67 | |
| 68 | Generates unique ids and outputs them to standard out. |
| 69 | |
| 70 | Usage: |
| 71 | uniqueid generate |
| 72 | |
| 73 | Uniqueid Inject |
| 74 | |
| 75 | Injects UniqueIds into existing files. Strings of the form "$UNIQUEID$" will be |
| 76 | replaced with generated ids. |
| 77 | |
| 78 | Usage: |
| 79 | uniqueid inject <filenames> |
| 80 | |
| 81 | <filenames> List of files to inject unique ids into |
| 82 | |
| 83 | Uniqueid Help |
| 84 | |
| 85 | Help with no args displays the usage of the parent command. |
| 86 | |
| 87 | Help with args displays the usage of the specified sub-command or help topic. |
| 88 | |
| 89 | "help ..." recursively displays help for all commands and topics. |
| 90 | |
| 91 | The output is formatted to a target width in runes. The target width is |
| 92 | determined by checking the environment variable CMDLINE_WIDTH, falling back on |
| 93 | the terminal width from the OS, falling back on 80 chars. By setting |
| 94 | CMDLINE_WIDTH=x, if x > 0 the width is x, if x < 0 the width is unlimited, and |
| 95 | if x == 0 or is unset one of the fallbacks is used. |
| 96 | |
| 97 | Usage: |
| 98 | uniqueid help [flags] [command/topic ...] |
| 99 | |
| 100 | [command/topic ...] optionally identifies a specific sub-command or help topic. |
| 101 | |
| 102 | The uniqueid help flags are: |
Jiri Simsa | e8a44a2 | 2015-03-13 17:35:39 -0700 | [diff] [blame] | 103 | -style=default |
| 104 | The formatting style for help output, either "default" or "godoc". |
Benjamin Prosnitz | 7cf836d | 2015-01-30 09:19:19 -0800 | [diff] [blame] | 105 | */ |
| 106 | package main |