deploy: fff3a4c4852df16e2720c5098d3dd872f7f68bdf

This commit is contained in:
renovate[bot]
2023-03-24 09:36:35 +00:00
parent 4b37ec65af
commit b0d548b785
21 changed files with 31 additions and 31 deletions
+9 -1
View File
@@ -509,6 +509,10 @@
<a href="#509" id="509">509</a>
<a href="#510" id="510">510</a>
<a href="#511" id="511">511</a>
<a href="#512" id="512">512</a>
<a href="#513" id="513">513</a>
<a href="#514" id="514">514</a>
<a href="#515" id="515">515</a>
</pre><pre class="rust"><code><span class="comment">// * This file is part of the uutils coreutils package.
// *
// * (c) Martin Kysel &lt;code@martinkysel.com&gt;
@@ -539,7 +543,10 @@
<span class="kw">use </span>unicode_width::UnicodeWidthStr;
<span class="kw">use </span>uucore::display::Quotable;
<span class="kw">use </span>uucore::error::{UResult, USimpleError, UUsageError};
<span class="kw">use </span>uucore::{format_usage, help_about, help_usage};
<span class="kw">const </span>ABOUT: <span class="kw-2">&amp;</span>str = <span class="macro">help_about!</span>(<span class="string">&quot;more.md&quot;</span>);
<span class="kw">const </span>USAGE: <span class="kw-2">&amp;</span>str = <span class="macro">help_usage!</span>(<span class="string">&quot;more.md&quot;</span>);
<span class="kw">const </span>BELL: <span class="kw-2">&amp;</span>str = <span class="string">&quot;\x07&quot;</span>;
<span class="kw">pub mod </span>options {
@@ -608,7 +615,8 @@
<span class="kw">pub fn </span>uu_app() -&gt; Command {
Command::new(uucore::util_name())
.about(<span class="string">&quot;A file perusal filter for CRT viewing.&quot;</span>)
.about(ABOUT)
.override_usage(format_usage(USAGE))
.version(<span class="macro">crate_version!</span>())
.infer_long_args(<span class="bool-val">true</span>)
.arg(
+3 -11
View File
@@ -209,10 +209,6 @@
<a href="#209" id="209">209</a>
<a href="#210" id="210">210</a>
<a href="#211" id="211">211</a>
<a href="#212" id="212">212</a>
<a href="#213" id="213">213</a>
<a href="#214" id="214">214</a>
<a href="#215" id="215">215</a>
</pre><pre class="rust"><code><span class="comment">// * This file is part of the uutils coreutils package.
// *
// * (c) Alex Lyon &lt;arcterus@mail.com&gt;
@@ -230,7 +226,7 @@
<span class="kw">use </span>clap::{crate_version, Arg, ArgAction, Command};
<span class="kw">use </span>uucore::{
error::{set_exit_code, UClapError, UResult, USimpleError, UUsageError},
format_usage, show_error,
format_usage, help_about, help_usage, show_error,
};
<span class="kw">pub mod </span>options {
@@ -238,12 +234,8 @@
<span class="kw">pub static </span>COMMAND: <span class="kw-2">&amp;</span>str = <span class="string">&quot;COMMAND&quot;</span>;
}
<span class="kw">const </span>ABOUT: <span class="kw-2">&amp;</span>str = <span class="string">&quot;\
Run COMMAND with an adjusted niceness, which affects process scheduling. \
With no COMMAND, print the current niceness. Niceness values range from at \
least -20 (most favorable to the process) to 19 (least favorable to the \
process).&quot;</span>;
<span class="kw">const </span>USAGE: <span class="kw-2">&amp;</span>str = <span class="string">&quot;{} [OPTIONS] [COMMAND [ARGS]]&quot;</span>;
<span class="kw">const </span>ABOUT: <span class="kw-2">&amp;</span>str = <span class="macro">help_about!</span>(<span class="string">&quot;nice.md&quot;</span>);
<span class="kw">const </span>USAGE: <span class="kw-2">&amp;</span>str = <span class="macro">help_usage!</span>(<span class="string">&quot;nice.md&quot;</span>);
<span class="kw">fn </span>is_prefix_of(maybe_prefix: <span class="kw-2">&amp;</span>str, target: <span class="kw-2">&amp;</span>str, min_match: usize) -&gt; bool {
<span class="kw">if </span>maybe_prefix.len() &lt; min_match || maybe_prefix.len() &gt; target.len() {
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More