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