oc v3.5.5.5 oc create -h oc get -h And various other verbs and subcommands have help output that is missing "-n". "oc help" itself also does not indicate this as a high-level option. This option is effectively hidden.
Both of those include this text: Use "oc options" for a list of global command-line options (applies to all commands). $ oc options The following options can be passed to any command: --as='': Username to impersonate for the operation --as-group=[]: Group to impersonate for the operation, this flag can be repeated to specify multiple groups. --certificate-authority='': Path to a cert file for the certificate authority --client-certificate='': Path to a client certificate file for TLS --client-key='': Path to a client key file for TLS --cluster='': The name of the kubeconfig cluster to use --config='': Path to the config file to use for CLI requests. --context='': The name of the kubeconfig context to use --insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure --log-flush-frequency=5s: Maximum number of seconds between log flushes --loglevel=0: Set the level of log output (0-10) --logspec='': Set per module logging with file|pattern=LEVEL,... --match-server-version=false: Require server version to match client version -n, --namespace='': If present, the namespace scope for this CLI request --request-timeout='0': The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. --server='': The address and port of the Kubernetes API server --token='': Bearer token for authentication to the API server --user='': The name of the kubeconfig user to use [jliggitt@jliggitt-osx origin]$ oc options The following options can be passed to any command: --as='': Username to impersonate for the operation --as-group=[]: Group to impersonate for the operation, this flag can be repeated to specify multiple groups. --certificate-authority='': Path to a cert file for the certificate authority --client-certificate='': Path to a client certificate file for TLS --client-key='': Path to a client key file for TLS --cluster='': The name of the kubeconfig cluster to use --config='': Path to the config file to use for CLI requests. --context='': The name of the kubeconfig context to use --insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure --log-flush-frequency=5s: Maximum number of seconds between log flushes --loglevel=0: Set the level of log output (0-10) --logspec='': Set per module logging with file|pattern=LEVEL,... --match-server-version=false: Require server version to match client version -n, --namespace='': If present, the namespace scope for this CLI request --request-timeout='0': The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. --server='': The address and port of the Kubernetes API server --token='': Bearer token for authentication to the API server --user='': The name of the kubeconfig user to use