Skip to content

Open a file from command line by applying an existent UDL via UDL name#10102

Closed
donho wants to merge 1 commit intonotepad-plus-plus:masterfrom
donho:open_udl_file_cmdline
Closed

Open a file from command line by applying an existent UDL via UDL name#10102
donho wants to merge 1 commit intonotepad-plus-plus:masterfrom
donho:open_udl_file_cmdline

Conversation

@donho
Copy link
Member

@donho donho commented Jul 4, 2021

Add command line flag -udl="UDL name" to open a file by applying an existent UDL via its name.

Add command line flag -udl="UDL name" to open a file by applying an existent UDL via its name.
generic_string udlName;
if (getParamValFromString(FLAG_APPLY_UDL, params, udlName))
{
if (udlName.length() >= 2)
Copy link
Contributor

Choose a reason for hiding this comment

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

This condition will allow an empty name like "". Is it expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command line command line related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants