Skip to content

Commit f65c135

Browse files
committed
deploy: f0e8d44
1 parent 106c0fe commit f65c135

File tree

5 files changed

+21
-33
lines changed

5 files changed

+21
-33
lines changed

dev/src/uu_ln/ln.rs.html

+17-29
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,6 @@
484484
<a href="#484" id="484">484</a>
485485
<a href="#485" id="485">485</a>
486486
<a href="#486" id="486">486</a>
487-
<a href="#487" id="487">487</a>
488-
<a href="#488" id="488">488</a>
489-
<a href="#489" id="489">489</a>
490-
<a href="#490" id="490">490</a>
491-
<a href="#491" id="491">491</a>
492-
<a href="#492" id="492">492</a>
493487
</pre><pre class="rust"><code><span class="comment">// * This file is part of the uutils coreutils package.
494488
// *
495489
// * (c) Joseph Crail &lt;jbcrail@gmail.com&gt;
@@ -577,26 +571,21 @@
577571
</span>}
578572
}
579573

580-
<span class="kw">fn </span>long_usage() -&gt; String {
581-
String::from(
582-
<span class="string">&quot; In the 1st form, create a link to TARGET with the name LINK_NAME.
583-
In the 2nd form, create a link to TARGET in the current directory.
584-
In the 3rd and 4th forms, create links to each TARGET in DIRECTORY.
585-
Create hard links by default, symbolic links with --symbolic.
586-
By default, each destination (name of new link) should not already exist.
587-
When creating hard links, each TARGET must exist. Symbolic links
588-
can hold arbitrary text; if later resolved, a relative link is
589-
interpreted in relation to its parent directory.
590-
&quot;</span>,
591-
)
592-
}
593-
594-
<span class="kw">static </span>ABOUT: <span class="kw-2">&amp;</span>str = <span class="string">&quot;Change file owner and group&quot;</span>;
574+
<span class="kw">const </span>ABOUT: <span class="kw-2">&amp;</span>str = <span class="string">&quot;Change file owner and group&quot;</span>;
595575
<span class="kw">const </span>USAGE: <span class="kw-2">&amp;</span>str = <span class="string">&quot;\
596-
{} [OPTION]... [-T] TARGET LINK_NAME
597-
{} [OPTION]... TARGET
598-
{} [OPTION]... TARGET... DIRECTORY
599-
{} [OPTION]... -t DIRECTORY TARGET...&quot;</span>;
576+
{} [OPTION]... [-T] TARGET LINK_NAME
577+
{} [OPTION]... TARGET
578+
{} [OPTION]... TARGET... DIRECTORY
579+
{} [OPTION]... -t DIRECTORY TARGET...&quot;</span>;
580+
<span class="kw">const </span>LONG_USAGE: <span class="kw-2">&amp;</span>str = <span class="string">&quot;\
581+
In the 1st form, create a link to TARGET with the name LINK_NAME.\n\
582+
In the 2nd form, create a link to TARGET in the current directory.\n\
583+
In the 3rd and 4th forms, create links to each TARGET in DIRECTORY.\n\
584+
Create hard links by default, symbolic links with --symbolic.\n\
585+
By default, each destination (name of new link) should not already exist.\n\
586+
When creating hard links, each TARGET must exist. Symbolic links\n\
587+
can hold arbitrary text; if later resolved, a relative link is\n\
588+
interpreted in relation to its parent directory.&quot;</span>;
600589

601590
<span class="kw">mod </span>options {
602591
<span class="kw">pub const </span>FORCE: <span class="kw-2">&amp;</span>str = <span class="string">&quot;force&quot;</span>;
@@ -616,10 +605,9 @@
616605

617606
<span class="attr">#[uucore::main]
618607
</span><span class="kw">pub fn </span>uumain(args: <span class="kw">impl </span>uucore::Args) -&gt; UResult&lt;()&gt; {
619-
<span class="comment">// clap requires a &#39;static string
620-
</span><span class="kw">let </span>long_usage = <span class="macro">format!</span>(
621-
<span class="string">&quot;{}\n{}&quot;</span>,
622-
long_usage(),
608+
<span class="kw">let </span>long_usage = <span class="macro">format!</span>(
609+
<span class="string">&quot;{}\n\n{}&quot;</span>,
610+
LONG_USAGE,
623611
backup_control::BACKUP_CONTROL_LONG_HELP
624612
);
625613

dev/src/uu_rm/rm.rs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@
10411041
}
10421042
<span class="kw">if </span>is_dir {
10431043
<span class="comment">// We can&#39;t use metadata.permissions.readonly for directories because it only works on files
1044-
// So we have to handle wether a directory is writable on not manually
1044+
// So we have to handle whether a directory is writable on not manually
10451045
</span><span class="kw">if let </span><span class="prelude-val">Ok</span>(metadata) = fs::metadata(path) {
10461046
handle_writable_directory(path, options, <span class="kw-2">&amp;</span>metadata)
10471047
} <span class="kw">else </span>{

dev/uu_ln/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_ln`."><meta name="keywords" content="rust, rustlang, rust-lang, uu_app"><title>uu_app in uu_ln - 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-6827029ac823cab7.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../static.files/ayu-8af5e100b21cd173.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-c55e1eb52e1886b4.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="sidebar-logo" href="../uu_ln/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../uu_ln/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><div class="sidebar-elems"><h2><a href="index.html">In uu_ln</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 class="fqn">Function <a href="index.html">uu_ln</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_ln/ln.rs.html#178-280">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust fn"><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_ln" data-themes="" data-resource-suffix="" data-rustdoc-version="1.67.0 (fc594f156 2023-01-24)" data-search-js="search-444266647c4dba98.js" data-settings-js="settings-bebeae96e00e4617.js" data-settings-css="settings-af96d9e2fc13e081.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_ln`."><meta name="keywords" content="rust, rustlang, rust-lang, uu_app"><title>uu_app in uu_ln - 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-6827029ac823cab7.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../static.files/ayu-8af5e100b21cd173.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-c55e1eb52e1886b4.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="sidebar-logo" href="../uu_ln/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../uu_ln/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><div class="sidebar-elems"><h2><a href="index.html">In uu_ln</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 class="fqn">Function <a href="index.html">uu_ln</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_ln/ln.rs.html#172-274">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust fn"><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_ln" data-themes="" data-resource-suffix="" data-rustdoc-version="1.67.0 (fc594f156 2023-01-24)" data-search-js="search-444266647c4dba98.js" data-settings-js="settings-bebeae96e00e4617.js" data-settings-css="settings-af96d9e2fc13e081.css" ></div></body></html>

0 commit comments

Comments
 (0)