From 9aa6b0bc57d51703098e0d55e6a51f467235d574 Mon Sep 17 00:00:00 2001
From: Scott Lowe <scott@balena.io>
Date: Tue, 31 Mar 2020 10:10:11 +0200
Subject: [PATCH] Remove unused code from balena note

Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
---
 doc/cli.markdown          | 4 ----
 lib/actions-oclif/note.ts | 6 ------
 2 files changed, 10 deletions(-)

diff --git a/doc/cli.markdown b/doc/cli.markdown
index cb27e68d..12b7a174 100644
--- a/doc/cli.markdown
+++ b/doc/cli.markdown
@@ -1284,10 +1284,6 @@ device UUID
 
 
 
-#### --stdin
-
-
-
 # OS
 
 ## os versions &#60;type&#62;
diff --git a/lib/actions-oclif/note.ts b/lib/actions-oclif/note.ts
index 082d3fcd..eee91ce4 100644
--- a/lib/actions-oclif/note.ts
+++ b/lib/actions-oclif/note.ts
@@ -26,7 +26,6 @@ import { getBalenaSdk } from '../utils/lazy';
 interface FlagsDef {
 	device?: string; // device UUID
 	dev?: string; // Alias for device.
-	stdin: boolean;
 	help: void;
 }
 
@@ -51,7 +50,6 @@ export default class NoteCmd extends Command {
 	public static args = [
 		{
 			name: 'note',
-			// required: true,
 			description: 'note content',
 		},
 	];
@@ -64,10 +62,6 @@ export default class NoteCmd extends Command {
 			exclusive: ['device'],
 			hidden: true,
 		}),
-		// Hack to read stdin with oclif
-		stdin: flags.boolean({
-			hidden: true,
-		}),
 		help: cf.help,
 	};