dilshod/xlsx2csv

Document default behaviour of -s option

shindere opened this issue · 2 comments

What is the default behaviour of the -s option, please?

When it is not specified, does it default to 1 (only the first sheet)
or to 0 (all sheets)?

Could that be documented in the manpage, please?

When not specified, the sheet defaults to the first sheet
xlsx2csv origin_file.xlsx destination_file.csv

When specified as 0, it becomes all sheets. In this example, it makes several .csvs in the destination_folder
xlsx2csv --sheet=0 origin_file.xlsx destination_folder

When specifying sheet 4, it converts sheet 4 only
xlsx2csv --sheet=4 origin_file.xlsx destination_file.csv