Anonymous user
Talk:Parse command-line arguments: Difference between revisions
m
format
m (I have some (currently incomplete) documentation) |
m (format) |
||
Line 8:
The phone call example is just a quick example. I think we should define a more useful CLI example for each language.
pmath: Perform mathematical operations.
Examples:▼
Usage▼
▲Examples:
./pmath.rb -h▼
Fibonacci▼
▲Usage
./pmath.rb --fib 100▼
e raised to a power▼
▲./pmath.rb -h
./pmath.rb -e 2▼
▲Fibonacci
▲./pmath.rb --fib 100
▲e raised to a power
▲./pmath.rb -e 2
--[[User:Mcandre]]
|