Skip to content

Fix load command args - #1373

Merged
flyingmutant merged 1 commit into
cmus:masterfrom
pgaskin:fix-load-command-args
Sep 23, 2024
Merged

flyingmutant merged 1 commit into
cmus:masterfrom
pgaskin:fix-load-command-args

Conversation

@pgaskin

@pgaskin pgaskin commented Sep 23, 2024

Copy link
Copy Markdown
Member

The load -p whatever.pl command does not work, and results in the error :load only works in views 1-2.

The load whatever.pl command only works in views 1-2.

The load -l whatever.pl works in all views.

The initial implementation of the load command was done in 8d3cbc5, and was consistent with the documentation added in eec4e5e.

Support for loading into the playlist view was intentionally dropped in 5563e0c, but the documentation and arg parsing was not updated.

fixes #1304

@nefthy nefthy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The `load -p whatever.pl` command does not work, and results in the
error `:load only works in views 1-2`.

The `load whatever.pl` command only works in views 1-2.

The `load -l whatever.pl` works in all views.

The initial implementation of the load command was done in 8d3cbc5,
and was consistent with the documentation added in eec4e5e.

Support for loading into the playlist view was intentionally dropped in
5563e0c, but the documentation and arg
parsing was not updated.
@flyingmutant
flyingmutant merged commit d460b33 into cmus:master Sep 23, 2024
@pgaskin
pgaskin deleted the fix-load-command-args branch September 24, 2024 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

load command doesn't match documentation or error messages

3 participants