-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[main] command-line argument +a:b is parsed as row:col, contradicting man page #2357
Comments
@aborruso, this feature is your request! Can you please tell midichef your preferences for its syntax? =) |
(Nice catch, midichef) |
Tomorrow I try to remember what the request was and then I answer you. Thank you very much |
1 similar comment
Tomorrow I try to remember what the request was and then I answer you. Thank you very much |
When I went to look up the original request, it seems like you cared about selecting the top-level sheet from the CLI! #214 (comment) Not selecting a specific row/column. It wasn't you who originally proposed the orderl. =) Saul designed it originally |
I thought about it some more. i think probably keeping it row:col is the default approach, because we might silently break folks CLI usage with an abrupt change. But since you did start this conversation midichef, I would love to hear yours, aborruso's and anyone else's preferences. Personally |
For a single argument, For the case of two arguments,
I agree we should think it over, as it's definitely possible that changing to I've got a set of commits to get the |
Thank you @midichef and @anjakefala. It is a command that I have tried to use without much luck and have removed from the daily commands. |
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:
visidata/visidata/man/vd.txt
Line 10 in 581cdf1
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 infeatures/slide.py
, which do row:col?Additional context
saul.pw/VisiData v3.1dev
The text was updated successfully, but these errors were encountered: