visidata
visidata copied to clipboard
[main] command-line argument +a:b is parsed as row:col, contradicting man page
Small description
vd sample_data/benchmark.csv +:0:2
opens the sheet with the cursor at the third column.
Expected result The documentation suggests it should open at the third row, not column: https://github.com/saulpw/visidata/blob/581cdf12b28278aea87ce09f7c32bf8ae1be2f0f/visidata/man/vd.txt#L10
What's the correct order here: +col:row or +row:col? I've got a PR to fix some bugs in handling the initial row/columns passed in the +a:b
argument. Should I match the man page and docstrings which say col:row? Or the existing behavior and the tests in features/slide.py
, which do row:col?
Additional context saul.pw/VisiData v3.1dev