Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
rust
Dunitrust
Merge requests
!187
Elois/dunitrust
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Elois/dunitrust
elois/dunitrust
into
dev
Overview
0
Commits
2
Pipelines
0
Changes
239
Merged
Éloïs
requested to merge
elois/dunitrust
into
dev
5 years ago
Overview
0
Commits
2
Pipelines
0
Changes
239
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
e6dc691f
2 commits,
5 years ago
239 files
+
400
−
400
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
239
Search (e.g. *.vue) (Ctrl+P)
bin/du
rs
-server/src/cli.rs
→
bin/du
nitrust
-server/src/cli.rs
+
6
−
6
Options
// Copyright (C) 2018 The Du
rs
Project Developers.
// Copyright (C) 2018 The Du
nitrust
Project Developers.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
@@ -13,7 +13,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//! Command line options for classic Du
rs
nodes (no specialization).
//! Command line options for classic Du
nitrust
nodes (no specialization).
use
durs_core
::
commands
::
dbex
::
DbExOpt
;
use
durs_core
::
commands
::
keys
::
KeysOpt
;
@@ -36,9 +36,9 @@ use structopt::StructOpt;
name
=
"durs"
,
raw(setting
=
"structopt::clap::AppSettings::ColoredHelp"
)
)]
/// Du
rs
command line options
/// Du
nitrust
command line options
pub
struct
DursCliOpt
{
/// Du
rs
subcommand
/// Du
nitrust
subcommand
#[structopt(subcommand)]
cmd
:
DursCliSubCommand
,
/// Path where user profiles are persisted
@@ -77,7 +77,7 @@ impl ExecutableModuleCommand for DursCliOpt {
}
impl
DursCliOpt
{
/// Into Du
rs
command
/// Into Du
nitrust
command
pub
fn
into_durs_command
(
self
)
->
DursCommand
<
DursCliOpt
>
{
let
options
=
DursCoreOptions
{
keypairs_file
:
self
.keypairs_file
.clone
(),
@@ -129,7 +129,7 @@ impl DursCliOpt {
}
#[derive(StructOpt,
Debug,
Clone)]
/// Classic Du
rs
nodes subcommand
/// Classic Du
nitrust
nodes subcommand
pub
enum
DursCliSubCommand
{
/// Database explorer
#[structopt(
Loading