Parse command line arguments in common.sh
authorGuido Trotter <ultrotter@google.com>
Thu, 16 Oct 2008 09:20:04 +0000 (09:20 +0000)
committerGuido Trotter <ultrotter@google.com>
Thu, 16 Oct 2008 09:20:04 +0000 (09:20 +0000)
commit3474d1eb7a8f033ad59b2b00d30b2aadb8392ddc
tree9eb7bcb0230bd9606884536fd2084ae3da194f9e
parent85debce4669259444439b60eda6607756072c551
Parse command line arguments in common.sh

Currently each of the 4 OS API scripts parses its command line
separately. Creating common.sh lets us centralize this behavior.

For the rename script we change the old_name variable to just instance
for more uniformity with what the new version of the API will do.

Reviewed-by: iustinp
common.sh [new file with mode: 0644]
create.in
export
import
rename