D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 13346 - rdmd --option value
Summary: rdmd --option value
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2014-08-20 16:46 UTC by Nils
Modified: 2020-06-04 18:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nils 2014-08-20 16:46:07 UTC
---
rdmd --eval 'writeln("hello world");'
---
object.Exception@../phobos/std/getopt.d(689): Missing value for argument --eval.
---

rdmd interprets 'writeln("hello world");' as the program file.

unsatisfactory PR: https://github.com/D-Programming-Language/tools/pull/140
Comment 1 Mathias LANG 2020-06-04 18:37:25 UTC
This works now.