public static void printHelp(PrintStream stream) throws IOException {
            stream.println();
            stream.println("NAME");
            stream.println("  meta set - Set metadata on nodes");
            stream.println();
            stream.println("SYNOPSIS");
            stream.println("  meta set <meta-key>=<meta-value>[,<meta-key2>=<meta-value2>] -u <url>");
            stream.println("           [-n <node-id-list> | --all-nodes] [--confirm]");
            stream.println();
            stream.println("COMMENTS");
            stream.println("  To set one metadata, please specify one of the following:");
            stream.println("    " + MetadataStore.CLUSTER_KEY
                           + " (meta-value is cluster.xml file path)");
            stream.println("    " + MetadataStore.STORES_KEY
                           + " (meta-value is stores.xml file path)");
            stream.println("    " + MetadataStore.SLOP_STREAMING_ENABLED_KEY);
            stream.println("    " + MetadataStore.PARTITION_STREAMING_ENABLED_KEY);
            stream.println("    " + MetadataStore.READONLY_FETCH_ENABLED_KEY);
            stream.println("    " + MetadataStore.QUOTA_ENFORCEMENT_ENABLED_KEY);
            stream.println("    " + MetadataStore.REBALANCING_SOURCE_CLUSTER_XML);
            stream.println("    " + MetadataStore.REBALANCING_STEAL_INFO);
            stream.println("    " + KEY_OFFLINE);
            stream.println("  To set a pair of metadata values, valid meta keys are:");
            stream.println("    " + MetadataStore.CLUSTER_KEY
                           + " (meta-value is cluster.xml file path)");
            stream.println("    " + MetadataStore.STORES_KEY
                           + " (meta-value is stores.xml file path)");
            stream.println();
            getParser().printHelpOn(stream);
            stream.println();
        }
public static void printHelp ( PrintStream stream ) throws IOException { stream . println ( ) ; stream . println ( "NAME" ) ; stream . println ( "  meta set - Set metadata on nodes" ) ; stream . println ( ) ; stream . println ( "SYNOPSIS" ) ; stream . println ( "  meta set <meta-key>=<meta-value>[,<meta-key2>=<meta-value2>] -u <url>" ) ; stream . println ( "           [-n <node-id-list> | --all-nodes] [--confirm]" ) ; stream . println ( ) ; stream . println ( "COMMENTS" ) ; stream . println ( "  To set one metadata, please specify one of the following:" ) ; stream . println ( "    " + MetadataStore . CLUSTER_KEY + " (meta-value is cluster.xml file path)" ) ; stream . println ( "    " + MetadataStore . STORES_KEY + " (meta-value is stores.xml file path)" ) ; stream . println ( "    " + MetadataStore . SLOP_STREAMING_ENABLED_KEY ) ; stream . println ( "    " + MetadataStore . PARTITION_STREAMING_ENABLED_KEY ) ; stream . println ( "    " + MetadataStore . READONLY_FETCH_ENABLED_KEY ) ; stream . println ( "    " + MetadataStore . QUOTA_ENFORCEMENT_ENABLED_KEY ) ; stream . println ( "    " + MetadataStore . REBALANCING_SOURCE_CLUSTER_XML ) ; stream . println ( "    " + MetadataStore . REBALANCING_STEAL_INFO ) ; stream . println ( "    " + KEY_OFFLINE ) ; stream . println ( "  To set a pair of metadata values, valid meta keys are:" ) ; stream . println ( "    " + MetadataStore . CLUSTER_KEY + " (meta-value is cluster.xml file path)" ) ; stream . println ( "    " + MetadataStore . STORES_KEY + " (meta-value is stores.xml file path)" ) ; stream . println ( ) ; getParser ( ) . printHelpOn ( stream ) ; stream . println ( ) ; }
Prints help menu for command.

@param stream PrintStream object for output
@throws IOException