cmdutils: add OPT_INT check in parse_number_or_die()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Apr 2011 11:41:53 +0000 (13:41 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Apr 2011 19:47:06 +0000 (21:47 +0200)
commit584c2f1db82fbb8024ba2b6b4c48397efedcc125
treef18329b7f2a705ce5aa5e7230bc8c5c67f1d53d7
parent3c10843f15badfb300b32e77cb476a851641a0be
cmdutils: add OPT_INT check in parse_number_or_die()

Check that the value passed for an OPT_INT option is an int, fail
otherwise.
cmdutils.c