1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-01 11:46:20 +02:00

remove misleading example from source ()

This commit is contained in:
pwygab 2022-07-25 16:52:16 +08:00 committed by GitHub
parent 87e2fa137a
commit 8b35239bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,11 +69,6 @@ impl Command for Source {
example: r#"source ./foo.nu; say-hi"#, example: r#"source ./foo.nu; say-hi"#,
result: None, 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,
},
] ]
} }
} }