mirror of
https://github.com/nushell/nushell
synced 2024-12-27 13:33:16 +00:00
remove misleading example from source
(#6118)
This commit is contained in:
parent
87e2fa137a
commit
8b35239bce
1 changed files with 0 additions and 5 deletions
|
@ -69,11 +69,6 @@ impl Command for Source {
|
|||
example: r#"source ./foo.nu; say-hi"#,
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
description: "Runs foo.nu in current context and call the `main` command automatically, suppose foo.nu has content: `def main [] { echo 'Hi!' }`",
|
||||
example: r#"source ./foo.nu"#,
|
||||
result: None,
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue