lib/mortar/command/illustrate.rb in mortar-0.3.0 vs lib/mortar/command/illustrate.rb in mortar-0.3.1
- old
+ new
@@ -29,20 +29,12 @@
#
# -p, --parameter NAME=VALUE # Set a pig parameter value in your script.
# -f, --param-file PARAMFILE # Load pig parameter values from a file.
#
# Examples:
- #
- # $ mortar illustrate generate_regression_model_coefficients songs_sample
- #
- #Taking code snapshot... done
- #Sending code snapshot to Mortar... done
- #Starting illustrate... done
- #
- #Status: Success
- #
- #Results available at https://hawk.mortardata.com/illustrates/2000ce2f421aa909680000af
- #Opening web browser to show results... done
+ #
+ # Illustrate the songs_sample relation in the generate_regression_model_coefficients script.
+ # $ mortar illustrate generate_regression_model_coefficients songs_sample
def index
pigscript_name = shift_argument
alias_name = shift_argument
unless pigscript_name && alias_name
error("Usage: mortar illustrate PIGSCRIPT ALIAS\nMust specify PIGSCRIPT and ALIAS.")