Skip to content

Is --entry NOT to be passed while running? #583

Open

Description

@freakynit

Was trying basic fibonacci example from official docs. Tried running with --entry:

mun start target/mod.munlib --entry fibonacci_n
error: unexpected argument '--entry' found

  tip: to pass '--entry' as a value, use '-- --entry'

Usage: mun start <LIBRARY|ENTRY>

For more information, try '--help'.

But when tried without --entry:

mun start target/mod.munlib fibonacci_n
5

Am I missing anything here?

Activity

  1. Wodann commented on Feb 20, 2025

    @Wodann
    Collaborator

    Did you try the recommendation to run:

    mun start target/mod.munlib -- --entry fibonacci_n

    ?

  2. freakynit commented on Feb 21, 2025

    @freakynit
    Author

    @Wodann

    mun start target/mod.munlib --entry fibonacci_n
    

    This^ is from the official hello fibonacci doc page (https://docs.mun-lang.org/ch01-02-hello-fibonacci/)... the first page that almost 100% of the folks will be referring to...

    I believe if what you suggested is the way to run it, it should probably be updated in this page.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions