Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
change plot to farm in comments and prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Aug 21, 2023
1 parent ea655b8 commit 4d11d0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/wipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::utils::{
pub(crate) async fn wipe_config(farmer: bool, node: bool) -> Result<()> {
if !farmer && !node {
// if user did not supply any argument, ask for everything
let prompt = "Do you want to wipe farmer (delete plot)? [y/n]: ";
let prompt = "Do you want to wipe farmer (delete farm)? [y/n]: ";
let wipe_farmer =
get_user_input(prompt, None, yes_or_no_parser).context("prompt failed")?;

Expand All @@ -41,7 +41,7 @@ pub(crate) async fn wipe_config(farmer: bool, node: bool) -> Result<()> {

/// implementation of the `wipe` command
///
/// can wipe farmer, node, summary and plot
/// can wipe farmer, node, summary and farm
async fn wipe(
wipe_farmer: bool,
wipe_node: bool,
Expand Down Expand Up @@ -69,7 +69,7 @@ async fn wipe(
}
};

// TODO: modify here when supporting multi-plot
// TODO: modify here when supporting multi-farm
// if config can be read, delete the farmer using the path in the config, else,
// delete the default location
if let Some(config) = config {
Expand Down

0 comments on commit 4d11d0f

Please sign in to comment.