Moa icon indicating copy to clipboard operation
Moa copied to clipboard

Entering titles

Open hdzierz opened this issue 12 years ago • 3 comments

Moa lets you enter titles using white spaces. When attempting to run it complains about it. There should be a validation procedure that prevents you saving a title with spaces.

Cheers

Helge

BTW: I love moa :-)

hdzierz avatar Nov 28 '12 22:11 hdzierz

Never noticed it complaining about spaces in titles - can you give me an example?

mfiers avatar Nov 28 '12 22:11 mfiers

Sorry, I thought I can set the title in the command line like this (which you can't and shouldn't):

moa set title "Filter Cymbidia ABYSS results"

moa interprets everything in the quotation marks as a variable to set. That is what it does not like because it correctly denies variables (not titles !) with spaces.

When you run moa you get also correctly this:

Error: Invalid parameter name - cannot contain spaces: Filter Cymbidia ABYSS results Error: Undefined variable: Filter Cymbidia ABYSS results

Don't know what you do about it or if you want to do something about it but it would be a typical thing to do for a command line hacker.

Cheers

Helge

hdzierz avatar Nov 28 '12 22:11 hdzierz

Ah - I see the confusion - that should have been:

moa set title="Filter Cymbidia ABYSS results"

otherwise "Filter Cymbidia ABYSS results" is interpreted as a variable name - which cannot have spaces

need to update the documentation

mfiers avatar Nov 28 '12 23:11 mfiers