Skip to content

Commit 265943e

Browse files
committed
alias r
1 parent b45ce6c commit 265943e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fast-scp"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
description = "A fast and simple scp CLI tool"
55
license = "MIT"
66
repository = "https://github.com/dcodesdev/fast-scp"

src/cli.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
use clap::{command, Parser, Subcommand};
1+
use clap::{Parser, Subcommand};
22
use std::path::PathBuf;
33

44
#[derive(Parser)]
5-
#[command(version, about, long_about = None)]
5+
#[clap(version, about, long_about = None)]
66
pub struct Cli {
7-
#[command(subcommand)]
7+
#[clap(subcommand)]
88
pub command: Commands,
99
}
1010

1111
#[derive(Subcommand)]
1212
pub enum Commands {
13-
#[command(about = "Copy a file to a remote host")]
13+
#[clap(about = "Copy a file to a remote host", alias = "r")]
1414
Receive {
1515
#[clap(help = "Remote source to copy from")]
1616
source: String,

0 commit comments

Comments
 (0)