Skip to content

Commit b0d548b

Browse files
committed
deploy: fff3a4c
1 parent 4b37ec6 commit b0d548b

21 files changed

+31
-31
lines changed

dev/src/uu_more/more.rs.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,10 @@
509509
<a href="#509" id="509">509</a>
510510
<a href="#510" id="510">510</a>
511511
<a href="#511" id="511">511</a>
512+
<a href="#512" id="512">512</a>
513+
<a href="#513" id="513">513</a>
514+
<a href="#514" id="514">514</a>
515+
<a href="#515" id="515">515</a>
512516
</pre><pre class="rust"><code><span class="comment">// * This file is part of the uutils coreutils package.
513517
// *
514518
// * (c) Martin Kysel &lt;code@martinkysel.com&gt;
@@ -539,7 +543,10 @@
539543
<span class="kw">use </span>unicode_width::UnicodeWidthStr;
540544
<span class="kw">use </span>uucore::display::Quotable;
541545
<span class="kw">use </span>uucore::error::{UResult, USimpleError, UUsageError};
546+
<span class="kw">use </span>uucore::{format_usage, help_about, help_usage};
542547

548+
<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>);
549+
<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>);
543550
<span class="kw">const </span>BELL: <span class="kw-2">&amp;</span>str = <span class="string">&quot;\x07&quot;</span>;
544551

545552
<span class="kw">pub mod </span>options {
@@ -608,7 +615,8 @@
608615

609616
<span class="kw">pub fn </span>uu_app() -&gt; Command {
610617
Command::new(uucore::util_name())
611-
.about(<span class="string">&quot;A file perusal filter for CRT viewing.&quot;</span>)
618+
.about(ABOUT)
619+
.override_usage(format_usage(USAGE))
612620
.version(<span class="macro">crate_version!</span>())
613621
.infer_long_args(<span class="bool-val">true</span>)
614622
.arg(

dev/src/uu_nice/nice.rs.html

+3-11
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@
209209
<a href="#209" id="209">209</a>
210210
<a href="#210" id="210">210</a>
211211
<a href="#211" id="211">211</a>
212-
<a href="#212" id="212">212</a>
213-
<a href="#213" id="213">213</a>
214-
<a href="#214" id="214">214</a>
215-
<a href="#215" id="215">215</a>
216212
</pre><pre class="rust"><code><span class="comment">// * This file is part of the uutils coreutils package.
217213
// *
218214
// * (c) Alex Lyon &lt;arcterus@mail.com&gt;
@@ -230,20 +226,16 @@
230226
<span class="kw">use </span>clap::{crate_version, Arg, ArgAction, Command};
231227
<span class="kw">use </span>uucore::{
232228
error::{set_exit_code, UClapError, UResult, USimpleError, UUsageError},
233-
format_usage, show_error,
229+
format_usage, help_about, help_usage, show_error,
234230
};
235231

236232
<span class="kw">pub mod </span>options {
237233
<span class="kw">pub static </span>ADJUSTMENT: <span class="kw-2">&amp;</span>str = <span class="string">&quot;adjustment&quot;</span>;
238234
<span class="kw">pub static </span>COMMAND: <span class="kw-2">&amp;</span>str = <span class="string">&quot;COMMAND&quot;</span>;
239235
}
240236

241-
<span class="kw">const </span>ABOUT: <span class="kw-2">&amp;</span>str = <span class="string">&quot;\
242-
Run COMMAND with an adjusted niceness, which affects process scheduling. \
243-
With no COMMAND, print the current niceness. Niceness values range from at \
244-
least -20 (most favorable to the process) to 19 (least favorable to the \
245-
process).&quot;</span>;
246-
<span class="kw">const </span>USAGE: <span class="kw-2">&amp;</span>str = <span class="string">&quot;{} [OPTIONS] [COMMAND [ARGS]]&quot;</span>;
237+
<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>);
238+
<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>);
247239

248240
<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 {
249241
<span class="kw">if </span>maybe_prefix.len() &lt; min_match || maybe_prefix.len() &gt; target.len() {

dev/uu_more/fn.uu_app.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `uu_app` fn in crate `uu_more`."><meta name="keywords" content="rust, rustlang, rust-lang, uu_app"><title>uu_app in uu_more - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-93196c7a1c3542a8.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-4743e13df3dfe8c4.css"><link rel="stylesheet" disabled href="../static.files/dark-0e1b889528bd466b.css"><link rel="stylesheet" disabled href="../static.files/ayu-65289d5d067c7c66.css"><script id="default-settings" ></script><script src="../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-3367e395607fafc1.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../uu_more/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../uu_more/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In uu_more</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">uu_more</a>::<wbr><a class="fn" href="#">uu_app</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/uu_more/more.rs.html#98-189">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust"><code>pub fn uu_app() -&gt; Command</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="uu_more" data-themes="" data-resource-suffix="" data-rustdoc-version="1.68.1 (8460ca823 2023-03-20)" data-search-js="search-98d53477a794af0b.js" data-settings-js="settings-c3c521c753752a1a.js" data-settings-css="settings-08ddfdda51b8ee2e.css" ></div></body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `uu_app` fn in crate `uu_more`."><meta name="keywords" content="rust, rustlang, rust-lang, uu_app"><title>uu_app in uu_more - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-93196c7a1c3542a8.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-4743e13df3dfe8c4.css"><link rel="stylesheet" disabled href="../static.files/dark-0e1b889528bd466b.css"><link rel="stylesheet" disabled href="../static.files/ayu-65289d5d067c7c66.css"><script id="default-settings" ></script><script src="../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-3367e395607fafc1.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../uu_more/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../uu_more/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In uu_more</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">uu_more</a>::<wbr><a class="fn" href="#">uu_app</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/uu_more/more.rs.html#101-193">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust"><code>pub fn uu_app() -&gt; Command</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="uu_more" data-themes="" data-resource-suffix="" data-rustdoc-version="1.68.1 (8460ca823 2023-03-20)" data-search-js="search-98d53477a794af0b.js" data-settings-js="settings-c3c521c753752a1a.js" data-settings-css="settings-08ddfdda51b8ee2e.css" ></div></body></html>

0 commit comments

Comments
 (0)