We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39df2f1 commit 0bee20fCopy full SHA for 0bee20f
src/uu/sort/src/sort.rs
@@ -1847,11 +1847,11 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
1847
1848
// Prevent -o/--output to be specified multiple times
1849
if let Some(mut outputs) = matches.get_many::<OsString>(options::OUTPUT) {
1850
- if let Some(first) = outputs.next() {
1851
- if outputs.any(|out| out != first) {
1852
- return Err(SortError::MultipleOutputFiles.into());
1853
- }
1854
+ if let Some(first) = outputs.next() {
+ if outputs.any(|out| out != first) {
+ return Err(SortError::MultipleOutputFiles.into());
+ }
1855
}
1856
1857
settings.debug = matches.get_flag(options::DEBUG);
0 commit comments