Document default behaviour of -s option
shindere opened this issue · 2 comments
shindere commented
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?
adelaide01 commented
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
shindere commented
Adelaide Chen (2021/03/15 09:07 -0700):
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
thanks. I was suggesting to add these explanations to the manual page or
help text, actually.